[
https://issues.apache.org/jira/browse/MYFACES-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057555#comment-13057555
]
Leonardo Uribe commented on MYFACES-3053:
-----------------------------------------
Added some bug fixes and enhancements:
- Fix Ajax case and myfaces error handling disabled.
- Add MyFacesExceptionHandlerWrapperImpl and remove
ErrorPageWriter.handleThrowable try/catch blocks, this solves MYFACES-3193
- Output multiple exception stack traces
- Disable MyFaces exception handling if Project Stage is not development.
Before, it was enabled in stages like Production, but this is not wanted to
comply with JSF 2.0 spec (Mojarra disables it too). In this way, it should be
enabled in a explicit way in production.
- Remove ErrorPageWriter.handleThrowable block from ResourceHandler
implementation, because there is no view there and is not meaningful in such
situation (serve html when text/css or text/javascript is expected doesn't
sounds good).
> Improve error reporting and logging
> -----------------------------------
>
> Key: MYFACES-3053
> URL: https://issues.apache.org/jira/browse/MYFACES-3053
> Project: MyFaces Core
> Issue Type: Improvement
> Components: General
> Reporter: Martin Kočí
> Priority: Minor
>
> See http://www.mail-archive.com/[email protected]/msg50721.html
> And from http://wiki.java.net/bin/view/Projects/Jsf2RequirementsScratchpad:
> Better Error reporting, like what you get with Tapestry (also in
> JSR-252-EG, where it was said: any time there is an error in *any*
> part of the lifecycle, the user should see not just a cryptic stack
> trace, but also the component - including file and line number - that
> triggered the problem, the EL expression that was being evaluated -
> including the part of the EL expression that triggered the problem,
> etc. Diagnosability for state saving is also important. On this point,
> Gavin King wants to have centralized error handling, with an
> interception point, perhaps using navigation rules, to help handle
> errors.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira