You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Maurizio Cucchiara (JIRA)" <ji...@apache.org> on 2011/01/18 23:54:46 UTC

[jira] Resolved: (WW-3559) PrepareInterceptor is eating exceptions that occur in prepare{methodName} methods

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

Maurizio Cucchiara resolved WW-3559.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2

Patch applied, thanks

> PrepareInterceptor is eating exceptions that occur in prepare{methodName} methods
> ---------------------------------------------------------------------------------
>
>                 Key: WW-3559
>                 URL: https://issues.apache.org/jira/browse/WW-3559
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.2.1, 2.2.1.1
>         Environment: All
>            Reporter: Greg Lindholm
>            Assignee: Maurizio Cucchiara
>             Fix For: 2.2.2
>
>         Attachments: PrepareInterceptor_patch.txt, WW-3559-test.patch
>
>
> The PrepareInterceptor is eating any exceptions that occur when calling prepare{MethodName} methods.
> It is catching the exceptions and simply logging a warning then continuing. 
> It should be re-throwing these exception so that normal exception handling login (i.e. the Exception Interceptor) is performed.
> Exceptions that occur in the prepare() method are (correctly) not caught but those in the prepare{MethodName) methods are being caught and ignored.
> I have a patch that corrects this bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.