Skip to content

Error message when deleting tree ranks that have associated nodes #5025

@Areyes42

Description

@Areyes42

Describe the bug
A brief error message appears when attempting to delete tree ranks associated with a node via the Storage Tree Def Items menu.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a tree
  2. Click on the edit pencil next to the tree name
  3. Click the 'Tree Def Items' button
  4. Try deleting a rank with nodes
  5. Save
  6. See error

Expected behavior
When attempting to delete a tree rank that has associated nodes, a save blocker should be enforced, similar to the mechanism used when deleting with the pencil button.

Screenshots

Screen.Recording.2024-06-20.at.1.56.16.PM.mp4

Please, also fill out the following information manually:

Metadata

Metadata

Assignees

Labels

1 - BugIncorrect behavior of the product2 - TreesIssues that are related to the tree system and related functionalities.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions