struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Wannemacher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3138) DWRValidator not working
Date Wed, 03 Jun 2009 14:01:42 GMT

    [ https://issues.apache.org/struts/browse/WW-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46328#action_46328
] 

Wes Wannemacher commented on WW-3138:
-------------------------------------

J Alex, 

This is the last open issue before I try to release Struts 2.1.7, are you able to work on
it and provide a patch, or should I postpone the fix to a later release (I already postponed
another DWR issue that might be related).

> 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.7
>
>
> 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.


Mime
View raw message