Hi all,
I took over the maintenance of a piece of code, which previously worked with Nuxeo DM Server 5.6. The code uses CMIS to communicate with Nuxeo and scans the published documents within a certain section. It seems this did work with Nuxeo DM 5.6 (have not validated this yet), but it does not seem to work with Nuxeo 6.0 anymore. Has something fundamentally changed with CMIS support for sections within Nuxeo? It does work when I switch it to a workspace, but that's not the intention. I want only to get published documents.
The code used is quite simple. It uses Apache Chemistry, which I have also updated from 0.9.0 to version 0.13.0 in the mean time.
CmisObject seed = session.getObjectByPath(cmisRepoConfig.getRootPath(), operationContext);
ItemIterable<CmisObject> children = ((Folder) seed).getChildren();
The connection uses:
the following rootPath /default-domain/sections/marketing
and connects via http://localhost:18080/nuxeo/atom/cmis
When I iterate the children I only get CMIS folders back, but no documents.
Any hints or tips are highly appreciated!