myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2445) Prevent exceptions from propagating out of the ServletFilter
Date Wed, 28 May 2014 17:17:01 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011332#comment-14011332
] 

Scott O'Bryan commented on TRINIDAD-2445:
-----------------------------------------

Silly question but I'm wondering WHY this was needed.  The bug is not very informative.

> Prevent exceptions from propagating out of the ServletFilter
> ------------------------------------------------------------
>
>                 Key: TRINIDAD-2445
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2445
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 2.1.1-core
>            Reporter: Arjun Vade
>            Assignee: Jeanne Waldman
>             Fix For: 2.1.1-core
>
>         Attachments: 17191718.patch
>
>
> Any exceptions from the Trinidad code that runs before JSF lifecycle that propagates
to application server layer may result in the end user not seeing a meaningful error message
in UI.
> Solution: Trinidad code that runs before the JSF lifecycle shouldn't allow exceptions
to propagate out of the ServletFilter.
> The fix is simply to add code to our various ServletFilters to trap the errors at that
point before the errors propagate out.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message