Need to trap attribute names that commons-beanutils mishandles
--------------------------------------------------------------

         Key: BPM-246
         URL: http://jira.andromda.org/browse/BPM-246
     Project: Bpm4Struts Cartridge
        Type: Improvement
    Versions: 3.0 RC1    
    Reporter: HB
 Assigned to: Wouter Zoons 
    Priority: Minor


>From  Bpm4Struts cartridge forum message "Spring ctg and BPM4Struts ctg 
>disagree on accesor methods."

<quote>
Somewhere (I can't find where), a getter & setter are created on the fly (by 
JSP runtime introspection?), that apparently use a different algorithm for 
creating the method name from the attribute name, so I get the error...
"Problem managing Home: Could not find a getter for iATTRIBUTE in class...."

</quote>

Chad Brandon :- "Thats actually a bug in the commons-beanutils that struts 
uses...it can't handle properties that start with a single lower case letter 
and then have an uppercase letter directly following it. The thing probably for 
us to do in the bpm4struts cartridge is to add an OCL constraint that validates 
the name (at least until commons-beanutils has this bug fixed)...file a JIRA 
issue and I'm sure Wouter will add it."



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Reply via email to