I have an Alfresco 4.2 document at /Sites/swsdp/documentLibrary/Presentations/test1.txt
with id workspace://SpacesStore/626216a1-5f9e-4010-a424-e2e0ec4f2663;1.0
.
Here is my DotCMIS code to deal with a ChangeLog change event:
ICmisObject cmisObject = session.GetObject(
"workspace://SpacesStore/626216a1-5f9e-4010-a424-e2e0ec4f2663;1.0");
if (null != (document = cmisObject as IDocument))
{
String filename = document.ContentStreamFilename; // returns: "test1.txt"
List<String> paths = document.Paths; // returns: Empty list
}
Why is paths
an empty list?
Why does it not contain /Sites/swsdp/documentLibrary/Presentations/test1.txt
?
I know it is not exactly the same, but OpenCMIS documentation says this for the same method:
Returns the list of paths of this object or an empty list if this object is unfiled or if this object is the root folder