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:
- Go to 'Tree'
- Click on 'Add'
- Put the same name to another
- Save
- 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
Desktop (please complete the following information):
- OS: Ubuntu
- Browser chrome
- Version Sitmun 1.2.5
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:
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
Desktop (please complete the following information):