Internal Server Error on Saving User Profile Changes #10303
Labels
bug
communication
Pull requests that affect the corresponding module
lecture
Pull requests that affect the corresponding module
Describe the bug
I wanted to change the active profiles of a user in the User Management.
When trying to assign a new user the permissions ROLE_ADMIN and ROLE_USER, saving is not possible.
The error message states: "Query did not return a unique result."
There are no duplicate accounts, but we recently changed our SAML2 login from using a unique ID (eidxxxxxxxx) to a unique username (idyyyyyyyy). However, one account (my own) appears twice in the user database, but with different login information.
Log.txt
I believe this should not normally be an issue, which is why I am reporting it. After removing the "old" entry, everything works again.
But why does clicking "Save" in the Edit Profile section return two entries? The query should be able to distinguish between them based on their different login numbers.
To Reproduce
Artemis 7.9.1
1-3b) Create two Account with same Informations, but with different usernames.
Expected behavior
Changing the account information(Profiles) without error message.
Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.9.0/7.9.1
What browsers are you seeing the problem on?
Other (specify in "Additional context"), Chrome
Additional context
Browser: Chrome and Brave
Relevant log output
The text was updated successfully, but these errors were encountered: