Skip to content

CE-3015: Implement correct error handling for operation errors

Max Frederiksen requested to merge CE-3015-error-message-503 into develop

The goal of this ticket was to add correct error messages for when the app is in maintenance mode (when 503 is returned).

With the help of Johannas addition of RTK Query I decided to move over these request hooks which adds proper error handling.

Addition:

Decided to add the fixes for this ticket:https://jira.esss.lu.se/secure/RapidBoard.jspa?rapidView=949&projectKey=CE&view=detail&selectedIssue=CE-3137#

because they were very similar and on the same View.

Follow-up:

  • Remove onClose(); in ConfirmDialog because right now it's impossible to control when the Dialog closes or not.
Edited by Max Frederiksen

Merge request reports