On Thu, Sep 17, 2009 at 07:34, freak182 <[email protected]> wrote:
>  Node childNode = rootNode.getNode(baseVersion);
>  childNode.checkout();
>  childNode.setProperty(JcrConstants.JCR_FROZENNODE, fileStream);
>
> javax.jcr.nodetype.ConstraintViolationException: no matching property
> definition found for {http://www.jcp.org/jcr/1.0}frozenNode
>        at
> org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:768)

It's called jcr:frozenNode because it's meant to be a node and not a
property... Anyway, this node is created as the subnode of the Version
node after checkin, ie. if you retrieve a version and want to access
the original node, you have to get the jcr:frozenNode child of the
version node. This is because the version needs its own metadata which
is stored directly on the version node.

This node will always be read-only.

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to