myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3286) ExceptionHandler implementation should set response status codes before throw exception or show error page
Date Fri, 19 Aug 2011 17:14:27 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonardo Uribe resolved MYFACES-3286.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8

> ExceptionHandler implementation should set response status codes before throw exception
or show error page
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3286
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3286
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.0.8, 2.1.2
>
>
> When an error is handled by myfaces exception handler implementation, it is a good practice
to set response status codes. This is not necessary for ajax responses but for normal requests.
The visible effect is with firebug you see the red link.
> Additionally, there is a missing line, to prevent set myfaces exception handler on production
stages, unless it is declared on web.xml

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message