-
Type:
Bug
-
Resolution: Applied
-
Priority:
Major
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Accepted by TC
New JIRA issue:
Edit this section to say that there's no required naming convention for the folder/leaf name for objects, just that the path for each item MUST be unique.
To calculate a path to an object: <ParentFolder.Path> + "/" + object.PathSegment
Change GetFolderPath to GetObjectByPath(Path)
We add parameters to getChildren/Descendants/getFolderTree for "includePathSegment" Gives you the path token to each returned item. (I.e. Folder gives you "FolderName/", and for Document you get "LeafName.doc").
We add parameter to GetObjectParents for "includeObjectPaths" which returns (for each parent) the path to the OBJECT in that folder).
Example:
/A
/b
DOCFOO
DOCFOO
----------
GetProperties(A):
- Folder A:
- CMIS:Path = /A
GetProperties(b):
- Folder B:
- CMIS:Path = /A/b
GetChildrenA:
- b/
- C.doc
GetChildrenB:
- X.doc
GetObjectParents(DOCFOO):
C.doc
- CMIS:Path = /A/