[ 
https://issues.apache.org/jira/browse/WW-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Bohr updated WW-4778:
----------------------------
    Description: 
Property binding does not work correctly for attribute lName with setter 
setLName() 
(camel case problem in ONGL???? couldn't check this out in detail due to lack 
of time...)
workaround: lName renamed to lastName and setLName() renamed to setLastName()

Method setLastName() is recognized correctly (name of method keyed inside 
methodsByPropertyName of OnglRuntime.get(Class clazz, String propertyName)
for key "lastName" is "setLastName" as expected), whereas setLName() is not 
(name of method keyed inside methodsByPropertyName for key "lName" is "get")

  was:
Property binding does not work correctly for attribute lName with setter 
setLName() 
(camel case problem in OSGL???? couldn't check this out in detail due to lack 
of time...)
workaround: lName renamed to lastName and setLName() renamed to setLastName()

Method setLastName() is recognized correctly (name of method keyed inside 
methodsByPropertyName of OnglRuntime.get(Class clazz, String propertyName)
for key "lastName" is "setLastName" as expected), whereas setLName() is not 
(name of method keyed inside methodsByPropertyName for key "lName" is "get")


> Property binding does not work correctly for attribute lName with setter 
> setLName()
> -----------------------------------------------------------------------------------
>
>                 Key: WW-4778
>                 URL: https://issues.apache.org/jira/browse/WW-4778
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.31
>         Environment: did NOT appear in struts2.3.15.3, and now appears in 
> struts2.3.32
>            Reporter: Markus Bohr
>
> Property binding does not work correctly for attribute lName with setter 
> setLName() 
> (camel case problem in ONGL???? couldn't check this out in detail due to lack 
> of time...)
> workaround: lName renamed to lastName and setLName() renamed to setLastName()
> Method setLastName() is recognized correctly (name of method keyed inside 
> methodsByPropertyName of OnglRuntime.get(Class clazz, String propertyName)
> for key "lastName" is "setLastName" as expected), whereas setLName() is not 
> (name of method keyed inside methodsByPropertyName for key "lName" is "get")



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to