Skip to content

Multiple trees with the same name #382

@ibarzrm

Description

@ibarzrm

Describe the bug
It is possible to create trees with the same name. They likely have different internal identifiers that do not cause any issues, but from the user’s perspective this is not practical, as users work with and identify them by name. This leads to confusion when selecting the desired trees from other features, such as the application trees.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Tree'
  2. Click on 'Add'
  3. Put the same name to another
  4. Save
  5. See error

Expected behavior
Check if there is another tree with the same name, and if so, display a notification and do not save. This ensures that a non-existent name cannot be used.

Screenshots

Image Image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser chrome
  • Version Sitmun 1.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions