[
https://issues.apache.org/struts/browse/WW-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes Wannemacher updated WW-3125:
--------------------------------
Fix Version/s: 2.1.7
I am going to have to check into this, much of the reflection done happens in
OGNL, XWork or other places. Is there a doc or standard that states which
method should be called in a situation like yours? I am setting to 2.1.7 for
now, but if I can figure it out quick, I'll bump it to 2.1.8 or later.
> Incorrect reflection behavior while parameters setting
> ------------------------------------------------------
>
> Key: WW-3125
> URL: https://issues.apache.org/struts/browse/WW-3125
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.1.0
> Environment: xwork-2.1.0 struts-2.1.0
> Reporter: Vladimir Limansky
> Fix For: 2.1.7
>
>
> Incorrect reflection behavior while parameters setting:
> public class MyAction extends ActionSupport {
> void setMyValue(Long value) {//this method is NOT called
> this.value = value;
> }
> }
> public class MyAction extends ActionSupport {
> void setMyValue(long value) {//this method is called
> this.value = value;
> }
> }
> the url is
> blah-blah&myValue=10
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.