Change
Exception handling in triggers during form saving and in general
Issue description
When a StateException is thrown in any trigger during saving, there should be a roll back and the info should be displayed to the form user. Currently the info is saved despite the exception and no message is displayed to the user.
Developer comments
The current approach was more or less to hide it under the carpet. The exception was logged, but other than that it did not raise any attention whatsoever. The new approach is that the exception is handled like any other exception. During form saving there is a rollback and the user is displayed a generic message or in case of a StateException, the message of the exception. This should make it possible to handle more complex validations as well.
|
Work sessions
Start |
2020-06-17T06:56:22
|
End |
2020-06-17T08:51:48
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.