Skip to content

fix: add validation when creating a new tag#7890

Merged
Alkarex merged 1 commit intoFreshRSS:edgefrom
aledeg:fix/label-creation
Sep 1, 2025
Merged

fix: add validation when creating a new tag#7890
Alkarex merged 1 commit intoFreshRSS:edgefrom
aledeg:fix/label-creation

Conversation

@aledeg
Copy link
Member

@aledeg aledeg commented Sep 1, 2025

A tag name must be unique and can't be used as a category. There were no error message when creating a tag identical to an existing category. Now, this is addressed.

See #7686

Closes #7686

Changes proposed in this pull request:

  • add validation on tag creation

How to test the feature manually:

  1. create a new category (ex: HW)
  2. create a new tag with the same name as the new category (ex: HW)
  3. validate that the appropriate error message is displayed

Pull request checklist:

  • clear commit messages
  • code manually tested
  • unit tests written (optional if too hard)
  • documentation updated

Additional information can be found in the documentation.

A tag name must be unique and can't be used as a category. There were no error message
when creating a tag identical to an existing category. Now, this is addressed.

See FreshRSS#7686
@Alkarex Alkarex added this to the 1.28.0 milestone Sep 1, 2025
@Alkarex Alkarex merged commit b2a82b6 into FreshRSS:edge Sep 1, 2025
1 check passed
@Alkarex
Copy link
Member

Alkarex commented Sep 1, 2025

Good to see you back @aledeg :-)

@aledeg
Copy link
Member Author

aledeg commented Sep 1, 2025

Thank you @Alkarex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] can't add labels

2 participants