jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: getReferences() doesn't work on a frozennode?
Date Fri, 15 May 2009 09:10:20 GMT
quipere wrote:
> In some node "a" I have put a property "ref" with a reference to a frozenNode
> "c" in the versionHistory of an other node. But when I call getReferences()
> on the frozenNode "c" I get an empty PropertyIterator. I was expecting to
> get the a.ref property. Does getReferences() not work on frozenNodes?

Yes. JSR 170, Section 6.2.3:

"In implementations that support versioning, this
method does not return REFERENCE properties that are
part of the frozen state of a version in version storage."

BR, Julian

View raw message