Why doesn't cmislib's getDescendants() retrieve all documents?
I am currently using Nuxeo DM 5.7.2.
I would really like to use cmislib to access Nuxeo document metadata instead of the underlying database, but calls to getDescendants() do not retrieve the entire list of documents under a path. Is there a way to troubleshoot this?
0 votes
0 answers
1832 views
Is there some bug report, some documentation or some code I can look at to understand what is going on here?
Please provide more information…
Which documents are missing?
Are the missing documents returned if getChildren() is explicitly invoked on their parent?
If you explicitly perform getObject() on one of the missing documents, how does it metadata compare with one of the documents that is not missing from getDescendants()?
I don't see any qualitative difference in metadata – all of the documents are very similar.
/nuxeo/site/api/path
) if I ignore the totalSize=-2 and continue to request pages until I receive an empty list, it appears that the entire list of documents is actually being returned.