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

Slug conflicts with existing db entries #1118

Open
RyanHope opened this issue Sep 14, 2023 · 0 comments
Open

Slug conflicts with existing db entries #1118

RyanHope opened this issue Sep 14, 2023 · 0 comments
Labels
bug Something isn't working or is broken

Comments

@RyanHope
Copy link

RyanHope commented Sep 14, 2023

Describe the bug
I added helpdesk to an existing website, went to add some queues, website crashes because the slug field isnt unique.

django.db.utils.IntegrityError: duplicate key value violates unique constraint

Expected behavior
New queue added without issues

Additional context
slugs should probably have some automatic salt/namespacing to avoid this issue

@RyanHope RyanHope added the bug Something isn't working or is broken label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or is broken
Projects
None yet
Development

No branches or pull requests

1 participant