Closed fdlk closed 4 years ago
Some plugins still have an own exception handler for the RuntimeException that returns the getMessage(). It seems like the order in which this handler and the global one are called is changed.
Plugins with such a handler: metadatamanager, dataexplorer, user account controller, account controller, tagmanager and the permissionmanager
Ignore previous comment: Order of the handlers is unchanged.
CodedRuntimeException is now handled through the FallbackExceptionHandler, note that the http response status has changed from 404 to 500.
How to Reproduce
See for example #8733
Expected behavior
Controller responses are the same as before
Observed behavior
Error handling specs have changed