sitmun / sitmun-admin-app

Administration application for the SITMUN system.
European Union Public License 1.2
0 stars 0 forks source link

Cascade delete failure on layers. #226

Open RicardCots opened 6 days ago

RicardCots commented 6 days ago

Describe the bug When a layer is deleted from the service edit form, dependencies and relationships are not removed. If the layer is part of a tree, deleting the layer from the tree causes an application failure and does not load the tree window.

To Reproduce Steps to reproduce the behavior:

  1. Go to a Service editing form.
  2. Delete a layer from the service layer subform. The layer deleted must be configured in any tree.
  3. Try to open the Tree menú.
  4. See error

Expected behavior Cascade deletion working perfectly. No matter where the layer is deleted from.

Screenshots imagen Save and see the error (make sure the layer selected is configured in a tree).

fjlopez commented 5 days ago

Has this bug been reproduced in the PRE server? Provide a link to it to better understand the problem.