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

Jeromy Evans resolved WW-2518.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1
         Assignee: Jeromy Evans

Thanks for the patch.  I couldn't apply it directly because it includes 
absolute path names and "patch -p5 < WW-2518.patch" still failed an assertion.  
However I've applied and committed the fix.

> RestWorkFlowInterceptor in struts2-rest-plugin fails to intercept correctly 
> when method names are customised
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2518
>                 URL: https://issues.apache.org/struts/browse/WW-2518
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.1
>         Environment: Struts 2.1.1-SNAPSHOT using Jetty 6.1.5 on Mac OS X
>            Reporter: Sarat Pediredla
>            Assignee: Jeromy Evans
>             Fix For: 2.1.1
>
>         Attachments: WW-2518.patch
>
>
> The RestWorkFlowInterceptor fails to intercept validation workflow when the 
> method names are customised using struts constants as specified at 
> http://struts.apache.org/2.x/docs/rest-plugin.html.
> This is because although you are allowed to customise the names of the 
> methods using params like struts.mapper.*MethodName, the code in the 
> interceptor uses static strings to refer to methods which could have been 
> changed in custom config by user.
> I have submitted a patch that takes into consideration any custom 
> configuration in users applications.

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

Reply via email to