You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found that on django_mapstore_adapter\mapstore2_adapter\plugins\serializers.py when creating a map (executing perform_create) the map subelement of the data element is not stored correctly:
Line 313:
self.set_geonode_map(caller, serializer, map_obj, _data, _attributes) -> this makes a pop of subelement map of element _data so its not anymore on _data element
Line 317:
GeoNodeSerializer.update_data(serializer, _data) -> this saves the map data element without the map subelement as it is no longer present
On the other hand when updating the map (executing perform_update, same file) , as the two statements are executed on inverted order, this works, and saves the map subelement correctly
The text was updated successfully, but these errors were encountered:
We found that on django_mapstore_adapter\mapstore2_adapter\plugins\serializers.py when creating a map (executing perform_create) the map subelement of the data element is not stored correctly:
Line 313:
self.set_geonode_map(caller, serializer, map_obj, _data, _attributes) -> this makes a pop of subelement map of element _data so its not anymore on _data element
Line 317:
GeoNodeSerializer.update_data(serializer, _data) -> this saves the map data element without the map subelement as it is no longer present
On the other hand when updating the map (executing perform_update, same file) , as the two statements are executed on inverted order, this works, and saves the map subelement correctly
The text was updated successfully, but these errors were encountered: