|
Using the custom version storage, and the code:
Document workspaceDocument = Nuxeo.getRootDocument();
System.out.println("Insertion du noeud 1");
Document doc = workspaceDocument.addChild("1", "gestion_hag");
Nuxeo.save();
doc.checkIn("1.0");
Nuxeo.save();
System.out.println("Insertion du noeud 1");
doc = workspaceDocument.addChild("2", "gestion_hag");
Nuxeo.save();
doc.checkIn("1.0");
Nuxeo.save();
It seems that in the ecm:versionStorage tree both versions are correctly created but only the first one has the ecm:frozenNode property.
|
|
|
|
|
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets