myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3053) Improve error reporting and logging
Date Wed, 29 Jun 2011 23:45:29 GMT


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:
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>            Reporter: Martin Kočí
>            Priority: Minor
> See
> And from
> 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:


View raw message