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
try:
store=get_store(cat, name, workspace=ws)
exceptFailedRequestError:
ifogc_server_settings.DATASTORE:
try:
layers=Dataset.objects.filter(alternate=dataset_name)
forlayerinlayers:
store=get_store(cat, layer.store, workspace=ws)
exceptFailedRequestError:
logger.debug("the store was not found in geoserver")
else:
logger.debug("the store was not found in geoserver")
ifwsisNoneorstoreisNone:
logger.debug("cascading delete was called on a layer where the workspace was not found")
Not sure, if this will leave uncleaned artifacts.
Corresponding GeoServer log output:
geoserver4geonode_datapackage | 25 Jun 13:32:13 ERROR [geoserver.rest] - No such wms store: geonode,horizon_data
geoserver4geonode_datapackage | org.geoserver.rest.ResourceNotFoundException 404 NOT_FOUND: No such wms store: geonode,horizon_data
geoserver4geonode_datapackage | at org.geoserver.rest.catalog.WMSStoreController.getExistingWMSStore(WMSStoreController.java:181)
geoserver4geonode_datapackage | at org.geoserver.rest.catalog.WMSStoreController.wmsStoreGet(WMSStoreController.java:93)
geoserver4geonode_datapackage | at jdk.internal.reflect.GeneratedMethodAccessor586.invoke(Unknown Source)
geoserver4geonode_datapackage | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
geoserver4geonode_datapackage | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
geoserver4geonode_datapackage | at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
The text was updated successfully, but these errors were encountered:
Python context geoserver/helpers.py: get_store() raises
FailedRequestError
when calling from geoserver/helpers.py: cascading_delete():Not sure, if this will leave uncleaned artifacts.
Corresponding GeoServer log output:
The text was updated successfully, but these errors were encountered: