Hi! Yes, I fixed this already, along with some other errors which sneaked into the code during integration, I suppose. I will make a patch for this tonight so it can get fixed as soon as possible.
Bye! max > -----Original Message----- > From: Sergio Bossa [mailto:[EMAIL PROTECTED] > Sent: Monday, October 10, 2005 16:40 > To: [email protected] > Subject: Bug in Cocoon Forms libraries > > > Hello all, > > While playing with some of the new features, I noticed a > serious bug in > the brand new > org.apache.cocoon.forms.formmodel.library.Library class, > which causes an ArrayIndexOutOfBoundsException. > Take a look at the following piece of code, from the > getDefinition(String key) method: > > String[] parts = StringUtils.split(SEPARATOR); > librarykey = parts[0]; > definitionkey = parts[1]; > > The problem is clearly a misuse of the split() method. > > I think it should be corrected in: > > StringUtils.split(key, SEPARATOR); > > Please, let me know. > > Regards, > > Sergio B. > > -- > Sergio Bossa (http://sbtourist.blogspot.com/) > - Pro-Netics s.r.l. (http://www.pro-netics.com) > - Montag (http://montag.sourceforge.net) > - QuickNote (http://quicknote.sourceforge.net) >
