Description
Checklist
- I am using an up-to-date version.
- I have read the documentation.
- I have searched existing issues.
TagStudio Version
Alpha 9.4.1
Operating System & Version
Windows 11
Description
We can create a tag with the same name for any number of times. I tried this with the latest release (Alpha 9.4.1) and also the main
branch. In the Alpha
version, this is the result
There should be some sort of check to prevent this.
Also in the main
branch, since SQL is being used and an UNIQUE
constraint is given to the tag name
column, the duplicate tag wont be created, but the user will not be notified of why it was not created. Some sort of a dialog box saying Tag name already exists
can help solve this. I can try to work on this, but where should I implement it? In the main
branch or in the Alpha
branch?
Expected Behavior
Tags with existing names should not be created. A dialog box saying 'Tag already exists' or something should be shown to the user.
Steps to Reproduce
- Create a tag
- Create another tag with the same name
Logs
No response