Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
-
Struts 2.1.1-SNAPSHOT using Jetty 6.1.5 on Mac OS X
Description
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.