You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/08/19 19:14:27 UTC
[jira] [Resolved] (MYFACES-3286) ExceptionHandler implementation
should set response status codes before throw exception or show error page
[ 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