You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user requests a new topic via the React UI and uses a long topic description (for example, 100+ characters), a generic error occurs: Unexpected error
The browser's network console shows a HTTP request with 500 status.
What did you expect to happen?
It needs to be more transparent to users why the request is invalid. There already is a form validation for the minimum length of the topic description (String must contain at least 1 character(s)). The maximum length could be validated in a similar way before the request can be submitted.
The REST API should respond with HTTP 400 instead of 500.
What else do we need to know?
The Angular UI avioded this issue by having a maxlength in the HTML: <input maxlength="75" ...>
The text was updated successfully, but these errors were encountered:
Hi @michael-follmann I was just making some validation updates and testing them, we actually updated the UI already to return validation that 100 characters is the maximum that can be used.
It was fixed in this PR #2547
I currently have also updated some of the validation as well so if the api is used it will also come back with the correct response
What happened?
When a user requests a new topic via the React UI and uses a long topic description (for example, 100+ characters), a generic error occurs:
Unexpected error
The browser's network console shows a HTTP request with 500 status.
What did you expect to happen?
String must contain at least 1 character(s)
). The maximum length could be validated in a similar way before the request can be submitted.What else do we need to know?
The Angular UI avioded this issue by having a
maxlength
in the HTML:<input maxlength="75" ...>
The text was updated successfully, but these errors were encountered: