geosolutions-it / C198-KRIHS

3 stars 2 forks source link

Fix: delete of a layer considering its workspace #35

Closed chpicone closed 3 years ago

chpicone commented 3 years ago

In the GeoServer publisher tool currently to update a layer in GeoServer, we remove it and then we publish again. We need to check if we remove correctly the layer from the specific workspace. We need to investigate because I think the current code try to remove a layer by name in the whole catalogue and not just in the specific workspace.

A useful test could be to publish 2 layers (with the same name) in 2 different workspace and try to call the get_layer method from the catalogue to check the result.