Core: FullAjaxExceptionHandler does not show error page when exception is thrown during ajax request
See original GitHub issueDescribe the defect Original report on OmniFaces: https://github.com/omnifaces/omnifaces/issues/686
Reproducer: pf-8743.zip
Run mvn clean jetty:run
and click “Send AJAX Error”.
Environment:
- PF Version: 11.0.0
Analysis done by @BalusC in that ticket should be implemented.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
jsf 2 - Error Page isnt showing with FullAjaxExceptionHandler
FullAjaxExceptionHandler : An exception occurred during processing JSF ajax request. Error page '/view/errorpages/expired.faces' will be ...
Read more >FullAjaxExceptionHandler - OmniFaces Showcase
It would make sense if exceptions during ajax requests are handled the same way as ... You could for example show them in...
Read more >Fullajaxexceptionhandler Does Not Redirect To Error Page ...
Exceptions which are thrown during ajax requests have by default totally no ... However the error page does not show up at all...
Read more >Exceptions and Error Handling - UserFrosting Documentation
Any time an uncaught exception is thrown in your code, the underlying Slim ... If the error was generated during an AJAX request...
Read more >Why JSF 2.0 Hides Exceptions When Using AJAX - Beyond Java
The client doesn't show any reaction at all. ... When an AJAX request runs on an error typically an error message is returned...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok! … I didn’t understand … 😉
no worries I’ll wait for the next release
only a funny note on the reproducer …
it’s funny that you use Eclipse Jetty with Apache MyFaces
while I use Apache Tomcat with (now) Eclipse’s Mojarra LOL
… maybe it’s time to unify all these projects 😄
For all users still being on PrimeFaces 8: We had to revert to v8.0.16 to get rid of this problem. In all later versions (latest version right now is 8.0.19) the OmniFaces FullAjaxExceptionHandler does not work in conjunction with PrimeFaces. One just gets a broken page with some faulty CSS but not the expected error page.