[
https://issues.apache.org/struts/browse/WW-2518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sarat Pediredla updated WW-2518:
--------------------------------
Attachment: WW-2518.patch
Fixes issue with REST workflow interceptor not working when method names are
customised. This patch ensures the method names are pulled in from the config
and not specified inline.
> 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
> 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.