Hi everyone,After upgrading alfresco environment from 3.4.d to 4.0.e if i create a folder with this code :
Folder rootFolder = getSession().getRootFolder();
Map<String, Object> lFolderProps = new HashMap<String, Object>();
lFolderProps.put(PropertyIds.NAME, "folder test");
lFolderProps.put(PropertyIds.OBJECT_TYPE_ID, "F:test:folder");
rootFolder.createFolder(lFolderProps);
where "F:test:folder" is a folder type that i created :
<type name="test:folder">
<title>Test type folder</title>
<parent>cm:folder</parent>
</type>
this query returns empty result even though there is some documents inside the folder : SELECT * FROM cmis:document D WHERE CONTAINS(D,'PATH:"/app:company_home/test:folder_x0020_test//*"')
But if i change "test" with "cm" the results are shown.Thank you.