Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirm delete for a dataset which has references #1808

Open
ridoo opened this issue Jul 9, 2024 · 0 comments
Open

Confirm delete for a dataset which has references #1808

ridoo opened this issue Jul 9, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ridoo
Copy link

ridoo commented Jul 9, 2024

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 :shipit:!) and the map indicates changes:

image

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

  1. Create a map and add resources (you are allowed to delete)
  2. Delete the added resources
  3. Confirmation message does not contain any notice of existing references
  4. 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:
@ridoo ridoo added bug Something isn't working enhancement New feature or request labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant