struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Bohr (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4778) Property binding does not work correctly for attribute lName with setter setLName()
Date Wed, 29 Mar 2017 13:01:41 GMT
Markus Bohr created WW-4778:
-------------------------------

             Summary: 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 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
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)

Mime
View raw message