Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent creation of duplicate tags #10804

Closed
1 of 3 tasks
allyoucanmap opened this issue Feb 11, 2025 · 2 comments · Fixed by geosolutions-it/geostore#416 or #10850
Closed
1 of 3 tasks

Prevent creation of duplicate tags #10804

allyoucanmap opened this issue Feb 11, 2025 · 2 comments · Fixed by geosolutions-it/geostore#416 or #10850

Comments

@allyoucanmap
Copy link
Contributor

allyoucanmap commented Feb 11, 2025

Description

Currently it is possible to create multiple tags with the same name. Both backend and frontend should implement the logic to avoid this:

  • backend, check if the name for a tag already exist and thrown an error (similar logic for resource name)
  • frontend, manage the error in the UI

How to reproduce

  • login as admin
  • access to the tags manager in the manager menu
  • create a tag
  • create a new tag with the same name

Expected Result

An error in the UI stating the name already exist

Current Result

A duplicated tag is created

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

@axl8713
Copy link

axl8713 commented Feb 24, 2025

PR for the backend here: geosolutions-it/geostore#416

@offtherailz
Copy link
Member

@ElenaGallo, could you please test this on DEV ? Thank you

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