Do not handle exception in UserAction executor#1328
Conversation
|
@mvorisek - The original idea was for the user to be able to step back and give him a chance to change the argument value if the error was caused by the argument. But I agree that it does not make sense when an error like this is thrown. Maybe @romaninsh can comment further as he is the one who asks for the functionality at first. |
|
@ibelar I also pointed this (to step back), ok, for @romaninsh I think this is related with other bugs related with "user can not return back on error" and "popup cleared but not closed on error" I already experienced. Unhandled errors needs to be probably solved in browser level (as server/response might fail in any state) UPDATE: I think we have to never step forward without success action execution result, so then we do not have to roll ui back. |
98bdcd1 to
1a658c1
Compare
|
merged in #2008 |
Opening this, because:
like when model to add is defined like:
to replicate this issue like descibed, you need:
TextArea.phpsource will be loaded)Textareaclass before itThis issue is not about refactoring, it is about supressing great error trace with absolutely unhelpful text
Before:

After:

Also notice, that the form was previously rendered, but partly one - WE SHOULD NEVER ALLOW PARTIAL RENDER (and partial submit)
Need to be probably solved a little bit differently - handlers/steps should be reset, but exception handler/renderer from App should be used.