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

fix: 500 returned insted of 409 when unique index is created for a column #87

Open
jgomer2001 opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jgomer2001
Copy link
Collaborator

To ensure uniqueness of specific properties we created a MySQL unique index for a DB column. Seems like gluu cannot handle > this like it does for username (uid).

These are the errors that we receive: Create user: Unexpected error: Failed to persist entry: 'inum=@!DDD5.370D.8547.FFD9!0001!9bc7e864-4589-4379-9c64-e43ba672022a,ou=people,o=gluu

Replace user: Unexpected error: Failed to update entry: 'inum=@!DDD5.370D.8547.FFD9!0001!A1C9.92C1!0000!76EC.E323.D8D5.EEAD,ou=people,o=gluu'

Both errors lead to a 500 error from the scim pod. We would expect a 409 with additionally the failing property mentioned in the error message or the like.

@jgomer2001 jgomer2001 self-assigned this Oct 18, 2024
@mzico mzico added the enhancement New feature or request label Oct 18, 2024
@mzico mzico added this to the 5.0 milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants