You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wes Wannemacher (JIRA)" <ji...@apache.org> on 2009/06/18 15:39:42 UTC
[jira] Updated: (WW-3138) DWRValidator not working
[ https://issues.apache.org/struts/browse/WW-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes Wannemacher updated WW-3138:
--------------------------------
Fix Version/s: (was: 2.1.7)
2.1.8
bumping to 2.1.8
> DWRValidator not working
> ------------------------
>
> Key: WW-3138
> URL: https://issues.apache.org/struts/browse/WW-3138
> Project: Struts 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.1.6
> Environment: Struts2.1.6, tested on Tomcat 6 and WAS 6.1
> Reporter: J Alex
> Fix For: 2.1.8
>
>
> There are 2 issues , first the DWR validator is not functional - i.e it fails with a NPE when creating the action proxy.
> ActionProxy proxy = actionProxyFactory.createActionProxy(inv, namespace, mapping.getName(), mapping.getMethod(), true, true);
> This can be resolved by using :
> ActionProxy proxy = actionProxyFactory.createActionProxy(namespace, mapping.getName(), mapping.getMethod(), ctx);
> instead.
> Second, the mapping.getMethod() in the above call returns null; shouldn't it be the "method" attribute specified in Action Mapping?
> Discussion on this issue is at http://www.nabble.com/DWRValidator-not-working-in-Struts-2.1.6-to23215316.html#a23215316
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.