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

SQL Errors (Duplicate Key) on Experience domain edits #7644

Closed
fm3 opened this issue Feb 21, 2024 · 0 comments · Fixed by #7646
Closed

SQL Errors (Duplicate Key) on Experience domain edits #7644

fm3 opened this issue Feb 21, 2024 · 0 comments · Fixed by #7646

Comments

@fm3
Copy link
Member

fm3 commented Feb 21, 2024

see https://discuss.webknossos.org/t/experience-domain-edit-fails/1829

Did not happen for all users.

Note that this sends a user update request that also includes teams. The error was

SQL Failure: ERROR: duplicate key value violates unique constraint "user_team_roles_pkey"
  Detail: Key (_user, _team)=(<userId>, <teamId>) already exists.

So it actually happens on the team roles table. The user is an admin in the orga.

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

Successfully merging a pull request may close this issue.

1 participant