geosolutions-it / geonode-mapstore-client

MapStore Client for GeoNode
Other
2 stars 131 forks source link

Avoid sending requests to Geostore backend during map save #185

Closed giohappy closed 3 years ago

giohappy commented 4 years ago

During save map a request is send to the GEostore backend, which of course fails / timouts when this is not available, as in the case of GeoNode context.

image

giohappy commented 4 years ago

image

offtherailz commented 4 years ago

Looking at the code, this call is part of the geonode customization for saving resources (like thumbnails) https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/client/js/api/geonode.js#L45 The 'URL mapstore/rest/resources is configured in the geonode client configuration, too: https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/templates/geonode-mapstore-client/_config.html#L8

Did the entry point changed somehow?