Assigning role twice via API causes server error 500 #9729
Labels
Feature: Permissions
hacktoberfest
It's Hacktoberfest! https://groups.google.com/g/dataverse-community/c/n_Nn_T2yA-w/m/BcoXO4tEAQAJ
Help Wanted: Code
Mentor: pdurbin
Size: 3
A percentage of a sprint. 2.1 hours.
Type: Bug
a defect
User Role: Curator
Curates and reviews datasets, manages permissions
Milestone
What steps does it take to reproduce the issue?
The second time, Dataverse responds with a 500 server error and an error message in the form of "Command edu.harvard.iq.dataverse.engine.command.impl.AssignRoleCommand@xyz failed: Transaction aborted"
I expected the role assignment to fail gracefully, i.e.
(note: I didn't check if the same thing happens when assigning roles on dataverses, but I assume so)
Which version of Dataverse are you using?
5.13
Any related open or closed issues to this bug report?
not aware
Server log:
The text was updated successfully, but these errors were encountered: