slms4redd / admin-interface

Administration interface for the SLMS portal
1 stars 3 forks source link

Bug preventing deletion of existing layers #74

Open alessio-alfonsetti opened 7 years ago

alessio-alfonsetti commented 7 years ago

When trying to deleting an existing layer related to a StatsDef, the end user would get the following error message and the layer would not be deleted: image

Instead. if the layer is not related to any StatsDef, the layer get deleted correctly.

Proposed solution is to handle the exception properly and provide the end user with a proper informative popup.