|
|
|
| The following comment has been added to this issue: |
[ Permlink ] |
|
Author: Dragos Mihalache
Date: 23/03/07 16:19
Comment:
Need to create a test case for this.
The special test unit will create 2 different core sessions connecting to the same repository.
The case will test if the checkin from the first session will be fully visible from the second.
i.e. the version document exists after a checkin operation
|
|
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
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets