[ http://jira.andromda.org/browse/BPM-246?page=history ]
     
Wouter Zoons closed BPM-246:
----------------------------

    Resolution: Fixed

done, added the constraint on StrutsParameter and StrutsAttribute, also added a 
test for it

> 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.1M1
>     Reporter: HB
>     Assignee: Wouter Zoons
>     Priority: Minor
>      Fix For: 3.1-RC1

>
> 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."




-------------------------------------------------------
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