|
Reported by Rob Owen:
This problem occurs with ServerRow.getValues() too. I have attached a patch which makes the corresponding change to getValues() that was made to getValue(String). Index: C:/jprojects/eclipse/jackrabbit/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java =================================================================== --- C:/jprojects/eclipse/jackrabbit/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java (revision 367671) +++ C:/jprojects/eclipse/jackrabbit/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java (working copy) @@ -55,7 +55,7 @@ /** {@inheritDoc} */ public Value[] getValues() throws RepositoryException, RemoteException { - return row.getValues(); + return SerialValueFactory.makeSerialValueArray(row.getValues()); } /** {@inheritDoc} */ Thanks, Rob! Fixed as suggested in revision 374017.
This is a serious (and simple) enough fix that I applied it also to the 0.9 branch in revision 374018. |
|||||||||||||||||||||||||||||||||||||||||||||||||
I'm assuming that this fix solves your problem. Please reopen the issue if the problem still appears.