base_geoengine_demo: javascript errors

Bug #1342040 reported by Javi Meléndez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geospatial Addons for OpenERP
New
Undecided
Unassigned

Bug Description

I am getting some javascript errors when accessing geoengine view and geo_edit_map widget

In geoengine view, when there is no record, I get:
- TypeError: f is undefined (firefox 30.0)
- Uncaught TypeError: Cannot read property 'attributes' of undefined (chrome 35.0, opera 22.0)

To reproduce on base_geoengine_demo:
- Open geoengine.demo.automatic.retailing.machine list view
- Delete all records
- Open geoengine view -> error

When I am editing a geo_point for the second time, I get:
- TypeError: a.layer is null (firefox 30.0)
- Uncaught TypeError: Cannot read property 'selectedFeatures' of null (chrome 35.0, opera 22.0)

To reproduce on base_geoengine_demo:
- Open geoengine.demo.automatic.retailing.machine list view
- Edit an existing record
- Select the point of the map and move it
- Save changes
- Click edit again
- Select the point -> error

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.