You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2017/03/29 14:06:41 UTC
[jira] [Closed] (WW-4778) Property binding does not work correctly
for attribute lName with setter setLName()
[ https://issues.apache.org/jira/browse/WW-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-4778.
-----------------------------
Resolution: Duplicate
Fix Version/s: 2.3.28
> 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
> Fix For: 2.3.28
>
>
> 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)