You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Maxim <ma...@anahoret.com> on 2005/04/21 14:15:30 UTC
Possible TCK bug
Hello jackrabbit-dev.
In the file:
/jackrabbit/src/test/org/apache/jackrabbit/test/api/SysViewContentHandler.java
starting from line 507:
--------------------------------------------------
for (int j = 0; j < size -1; j++) {
// we know that the order of the values
// of a mulitval prop is preserved during export
String val = (String)propElem.values.get(i);
--------------------------------------------------
possibly the last line should say:
--------------------------------------------------
String val = (String)propElem.values.get(j);
--------------------------------------------------
(use index "j" instead of "i" at the end)
Thank you.
--
Best regards, Maxim.
Anahoret Team.
Re: Possible TCK bug
Posted by Marcel Reutegger <ma...@gmx.net>.
Hi Maxim,
thanks for identifying this bug. this has already been fixed in svn
revision: 161879 (april 19th, i believe)
see also:
http://svn.apache.org/viewcvs?view=rev&rev=161879
if you update to the latest source you should get the fix.
regards
marcel
Maxim wrote:
> Hello jackrabbit-dev.
>
> In the file:
> /jackrabbit/src/test/org/apache/jackrabbit/test/api/SysViewContentHandler.java
>
> starting from line 507:
> --------------------------------------------------
> for (int j = 0; j < size -1; j++) {
> // we know that the order of the values
> // of a mulitval prop is preserved during export
> String val = (String)propElem.values.get(i);
> --------------------------------------------------
>
> possibly the last line should say:
> --------------------------------------------------
> String val = (String)propElem.values.get(j);
> --------------------------------------------------
>
> (use index "j" instead of "i" at the end)
>
> Thank you.
>