You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ulrich VACHON (JIRA)" <ji...@apache.org> on 2009/03/04 11:01:45 UTC

[jira] Created: (WW-3021) Set overridable findResultFromExceptions method to ExceptionMappingInterceptor

Set overridable findResultFromExceptions method to ExceptionMappingInterceptor
------------------------------------------------------------------------------

                 Key: WW-3021
                 URL: https://issues.apache.org/struts/browse/WW-3021
             Project: Struts 2
          Issue Type: Improvement
          Components: Core Interceptors
    Affects Versions: 2.1.1
            Reporter: Ulrich VACHON


We wanted to add own custom ExceptionMappingInterceptor, but 	we could not use the private method findResultFromExceptions... Can you set it overridable to avoid a bad action (setAccessible(true))?

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


[jira] Commented: (WW-3021) Set overridable findResultFromExceptions method to ExceptionMappingInterceptor

Posted by "Ulrich VACHON (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46033#action_46033 ] 

Ulrich VACHON commented on WW-3021:
-----------------------------------

Ok, I will make the patch as soon as possible.
Thx

> Set overridable findResultFromExceptions method to ExceptionMappingInterceptor
> ------------------------------------------------------------------------------
>
>                 Key: WW-3021
>                 URL: https://issues.apache.org/struts/browse/WW-3021
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.1.1
>            Reporter: Ulrich VACHON
>             Fix For: 2.1.7
>
>
> We wanted to add own custom ExceptionMappingInterceptor, but  we could not use the private method findResultFromExceptions... Can you set it overridable to avoid a bad action (setAccessible(true))?

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


[jira] Closed: (WW-3021) Set overridable findResultFromExceptions method to ExceptionMappingInterceptor

Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Hermanns closed WW-3021.
-------------------------------

    Resolution: Fixed
      Assignee: Rainer Hermanns

fixed in XWork trunk for 2.1.3 release (delivered with Struts 2.1.7)

See http://jira.opensymphony.com/browse/XW-691

> Set overridable findResultFromExceptions method to ExceptionMappingInterceptor
> ------------------------------------------------------------------------------
>
>                 Key: WW-3021
>                 URL: https://issues.apache.org/struts/browse/WW-3021
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.1.1
>            Reporter: Ulrich VACHON
>            Assignee: Rainer Hermanns
>             Fix For: 2.1.7
>
>
> We wanted to add own custom ExceptionMappingInterceptor, but  we could not use the private method findResultFromExceptions... Can you set it overridable to avoid a bad action (setAccessible(true))?

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


[jira] Commented: (WW-3021) Set overridable findResultFromExceptions method to ExceptionMappingInterceptor

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45998#action_45998 ] 

Wes Wannemacher commented on WW-3021:
-------------------------------------

create a patch file with the changes you want and as long as it doesn't cause problems elsewhere it will probably get applied pretty quickly.

> Set overridable findResultFromExceptions method to ExceptionMappingInterceptor
> ------------------------------------------------------------------------------
>
>                 Key: WW-3021
>                 URL: https://issues.apache.org/struts/browse/WW-3021
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.1.1
>            Reporter: Ulrich VACHON
>             Fix For: 2.1.7
>
>
> We wanted to add own custom ExceptionMappingInterceptor, but  we could not use the private method findResultFromExceptions... Can you set it overridable to avoid a bad action (setAccessible(true))?

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


[jira] Updated: (WW-3021) Set overridable findResultFromExceptions method to ExceptionMappingInterceptor

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher updated WW-3021:
--------------------------------

    Fix Version/s: 2.1.7

> Set overridable findResultFromExceptions method to ExceptionMappingInterceptor
> ------------------------------------------------------------------------------
>
>                 Key: WW-3021
>                 URL: https://issues.apache.org/struts/browse/WW-3021
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.1.1
>            Reporter: Ulrich VACHON
>             Fix For: 2.1.7
>
>
> We wanted to add own custom ExceptionMappingInterceptor, but  we could not use the private method findResultFromExceptions... Can you set it overridable to avoid a bad action (setAccessible(true))?

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