keycloak-ui icon indicating copy to clipboard operation
keycloak-ui copied to clipboard

Trying to save a field too long brings up a 500 error

Open Aboullos opened this issue 4 years ago • 1 comments

Steps

  • Go to "Client Scope"
  • Go to "Create client scope" or go to an item details
  • Fill any text input with a long text
  • Click "Save"

Expected result:

  • The error is handled and the notification to the users shows a message warning about the length of the text
  • Http response message warns about the error

Actual result:

  • Notification message unclear to user: "Could not update client scope: 'Error: Request failed with status code 500'"
  • Http response message is: {"error":"unknown_error"}

Aboullos avatar Jan 21 '21 12:01 Aboullos

This happens on lots of our forms. We need to go through the whole app and do basic validation for lengths and numerics.

ssilvert avatar Apr 12 '21 19:04 ssilvert