Hi all, 
I'm trying to order a newly created document (a sub-folder) to the end, with 
"orderBefore" function in coreSession:

coreSession.orderBefore(parentDm.getRef(), currDm.getName(), null);

But I've got the following errors:
...
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.api.DocumentException. message: *Failed to reorder documents*
... 
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
javax.jcr.UnsupportedRepositoryOperationException. message: *child node 
ordering not supported on node* 
/ecm:root/ecm:children/default-domain/ecm:children/workspaces/ecm:children/asset-management/ecm:children/112138293.1241803554033/ecm:children


Could anyone shed some light? Is there any restrictions on what documents could 
be reordered? 

Thank you in advanced. 

- Carol
--
Posted by "carolsun" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2438#6621>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to