Open
Description
Describe the bug
Currently, a user has to confirm before deleting a dataset. However, there is no notice on existing references (e.g. map). After deleting the layer and re-opening the map, the layer cannot be loaded anymore (thanks Captain Obvious !) and the map indicates changes:
Expected Behavior
The user should be informed that the dataset to be deleted still has references or is referenced by other resources (like maps), respectively.
Steps to Reproduce the Problem
- Create a map and add resources (you are allowed to delete)
- Delete the added resources
- Confirmation message does not contain any notice of existing references
- Re-open the map
Specifications
Tested on https://stable.demo.geonode.org/catalogue/#/map/10409
- GeoNode client version:
- Browser:
- Installation type (vanilla, geonode-project):
- Additional details: