Hello All, I have an interesting situation. I have a User Dialog with interactions and a bit complex Logic. There is a point in the process where I`m trowing an exception and I want to redirect the user to an error page: I want to catch the exception in the business process where to do the redirect. Here is the confusing part:
Is this a bug or wrong architecture from my side ? anyway, what is the best practice for managing exceptions in User Dialog`s Logic? Best Regards, Yordan Yunchov asked 04.08.2016 at 14:38 Stelt0 |
I think the redirect to JSP should work - it seems like a bug in the ivy core. Best practice to handle errors in dialogs are CustomErrorPages: http://developer.axonivy.com/doc/latest/EngineGuideHtml/configuration.html#configuration-errorhandling answered 08.08.2016 at 09:35 Reguel Werme... ♦♦ Thanks for the reply ! How can I submit a bug ticket about that? The suggested best practice apply globally for all applications on the server, right ? My attempt is to create error handling on the application level, because each application might have different layout template, different types of exceptions, etc... btw.. I have worked on the approach with HTML dialogs and I find a lot of benefits using it. for example I can use the Logic to define backend workflow for handling the exceptions (logging, sending notifications, different messages for different users, etc..)
(08.08.2016 at 09:50)
Stelt0
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 04.08.2016 at 14:38
Seen: 2,549 times
Last updated: 08.08.2016 at 09:50