So then the correct way to handle adding the initial state of the nt:file node is to do a checkin() immediately after the save, as I have in my original code snippet? (Or should I do a checkout() first even though this is a new node?)
Thanks, ken Julian Reschke wrote: > > kenclark wrote: >> >> I reread the spec, and it is still not clear to me what exactly happens >> with >> the root version. My assumption was that it is, like you say, exactly >> like >> any other version -- it should be a copy of the versioned node as of the >> time the version was created (i.e. the initial save of the node). >> ... > > No, the root version is special; it only acts as root node for the > version history (it's the predecessor of the first "real" version). > > BR, Julian > > -- View this message in context: http://www.nabble.com/Problem-with-node.checkin%28%29-in-same-transaction-node-was-created-tp19601525p19611941.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
