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

DB Integrity error when double-saving a user #3652

Open
PascalRepond opened this issue Apr 18, 2024 · 0 comments
Open

DB Integrity error when double-saving a user #3652

PascalRepond opened this issue Apr 18, 2024 · 0 comments
Labels
bug Breaks something but is not blocking UX User experience, ergonomy

Comments

@PascalRepond
Copy link
Contributor

Bug description:

If I create a user and click on "save" (or Enter) multiple times, the systems tries to save the record twice and encounters a database error.

Expected behavior:

There should be a security in the user editor (same as others in #3540) that prevents multiple button clicks to save a resource multiple times.

Steps to Reproduce:

  • Create a user
  • Multi-click on the "save" button
  • Get an error in Sentry "IntegrityError api_users.users_list -> duplicate key value violates unique constraint "uq_accounts_user_username"
@PascalRepond PascalRepond added the bug Breaks something but is not blocking label Apr 18, 2024
@PascalRepond PascalRepond added the UX User experience, ergonomy label Apr 18, 2024
@PascalRepond PascalRepond moved this from Inbox to Product Backlog in RERO ILS issues Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking UX User experience, ergonomy
Projects
Status: Product Backlog
Development

No branches or pull requests

1 participant