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

Tag slugs can be forced to uppercase and made similar to existing ones #2040

Open
emilghittasv opened this issue Nov 6, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@emilghittasv
Copy link
Collaborator

Preconditions
Sign in to SUMO with an account that has admin permissions.

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to /admin/taggit/tag/add/
  2. Add a tag which is similar to an existing one but force the slug to be in uppercase. Example create a test topic with slug Test (there is an existing test topic with slug test
  3. Access a random forum question and try adding the test topic,

Expected behavior
Uppercase slugs similar to existing slugs cannot be added.

Actual behavior
Uppercase slugs which are similar to existing ones can be added via admin and trying to apply them to questions returns Tag.MultipleObjectsReturned https://mozilla.sentry.io/issues/6047040063/?project=4504326797197312&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&statsPeriod=24h&stream_index=0

Screencasts
duplicateTags

@emilghittasv emilghittasv added the bug Something isn't working label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: triage
Development

No branches or pull requests

1 participant