[Mapbender-dev] too much recursion in savewmc

Christoph Baudson (Wheregroup) christoph.baudson at wheregroup.com
Fri Jan 22 10:47:02 EST 2010

The problem exists because we added the attribute options.$target for 
each element. This is a jQuery collection of all target DOM elements of 
a module. This is very useful for iterating over all target objects.

The downside is, that the map objects are serialized in savewmc. As DOM 
elements also point to parents, and parents point back to their 
children, a recursion happens. We can no longer serialize the map 
objects the we we used to. I will add a toJSON or export method to the 
map objects later.

Thanks for pointing this out



Aufwind durch Wissen!

Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu



W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn

Christoph Baudson

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
Amtsgericht Bonn, HRA 6788

WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm

More information about the Mapbender_dev mailing list