Re: Restore a version of a node property

2006-05-31 Thread Markus Krüger
Hello, I have the same issue as David. I get the PathNotFoundException on any of my properties (in my case it is a proptery for an author named jcr:author). Are there any solutions to this problem, yet? Best regards, Markus Krüger

Re: Restore a version of a node property

2006-05-31 Thread Tobias Bocanegra
whats the 'on parent version' value of the respective property definition? can you send a test-case? thanks. regards, toby On 5/31/06, Markus Krüger [EMAIL PROTECTED] wrote: Hello, I have the same issue as David. I get the PathNotFoundException on any of my properties (in my case it is a

Re: Restore a version of a node property

2006-04-06 Thread Oliver Wehrens
Thanks a lot. Oliver On 05.04.2006 12:07 Uhr, Tobias Bocanegra [EMAIL PROTECTED] wrote: you need to checkin first: node = session.getRootNode().addNode(entry); node.addMixin(mix:versionable); node.setProperty(content, 1); node.getSession.save(); node.checkin() -

Re: Restore a version of a node property

2006-04-05 Thread Tobias Bocanegra
you need to checkin first: node = session.getRootNode().addNode(entry); node.addMixin(mix:versionable); node.setProperty(content, 1); node.getSession.save(); node.checkin() - node.checkout(); node.setProperty(content, 2); node.save(); node.checkin(); On 4/4/06, Oliver

Re: Restore a version of a node property

2006-04-04 Thread Tobias Bocanegra
This described method works fine for me, however how do I get a property of the rootNode of the history? As far as I can see it starts with the first revision but not with the original node I saved in the very beginning... when a new versionable node is created, it also creates the respective

Restore a version of a node property

2006-04-03 Thread Oliver Wehrens
Hi, Apologies if this is not a real Jackrabbit Developer question. I have a node with properties and a couple of versions of it. Now I want to extract from a particular version a specific property. Do I see that right, that the only way of getting the versioned property is to restore the node