base_geoengine - this.map is null of undefined on view load

Bug #1022996 reported by Yannick Vaucher @ Camptocamp
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Geospatial Addons for OpenERP
Confirmed
Medium
Unassigned

Bug Description

Firefox 13.0.1
Chromium 18.0.1025.151

When I first load a geoengine view everything works fine.

If I open an object from list view and then I go again on geoengine view I get:

this.map is null

To reproduce:

On an object with a geo_point.

- Load openerp.

- Open the list view from menu of any object with geometry
- Open an object in view form
- Go on geoengine view -> OK

And again

- Open the list view from menu of any object with geometry
- Open an object in view form
- Go on geoengine view
Firefox -> this.map is null
Chromium -> Uncaught TypeError: Cannot call method 'addLayer' of null

description: updated
Changed in c2c-geoengine-addons:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Nicolas Bessi - Camptocamp (nbessi-c2c)
affects: c2c-geoengine-addons → geospatial-addons
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.