Sundsvallskommun / OpenEMap-WebUserInterface

Open eMap user interface for the main map client
GNU Affero General Public License v3.0
4 stars 5 forks source link

Save map - error when saving #150

Closed anderserla closed 9 years ago

anderserla commented 9 years ago

Do the following

  1. Click "Spara karta"
  2. Set a name and click "Spara" -> ERROR Javascript console: Uncaught RangeError: Maximum call stack size exceeded
ghost commented 9 years ago

Did you add OpenLayers layer reference somewhere for WMS identify? I suspect that might be the cause.

ghost commented 9 years ago

Found it 5d35057c28b23d5f1861b126e54059fbc8a564fc.

ghost commented 9 years ago

Problem is probably that OpenLayers layer is now included in the generated "config"-object. Complex objects like OpenLayers layer cannot be serialized to JSON.

anderserla commented 9 years ago

Fixed