07-10-2012 01:15 PM
String typePlusAspects = "F:" + curTypeName + ",P:sys:hidden";
props.put(PropertyIds.NAME, nameTemplate);
props.put(PropertyIds.OBJECT_TYPE_ID, typePlusAspects);
fldrObj = destFolder.createFolder(props);
Exception thrown:org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Folder is not a folder!
at org.alfresco.opencmis.CMISNodeInfoImpl.checkIfFolder(CMISNodeInfoImpl.java:756)
at org.alfresco.opencmis.AlfrescoCmisServiceImpl.getOrCreateFolderInfo(AlfrescoCmisServiceImpl.java:292)
at org.alfresco.opencmis.AlfrescoCmisServiceImpl.createFolder(AlfrescoCmisServiceImpl.java:1055)
at org.alfresco.opencmis.AlfrescoCmisServiceImpl.create(AlfrescoCmisServiceImpl.java:1019)
at sun.reflect.GeneratedMethodAccessor770.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Any ideas?07-10-2012 05:55 PM
07-10-2012 06:41 PM
07-10-2012 07:50 PM
07-10-2012 09:32 PM
08-07-2012 08:09 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.