-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-HF39, 6.0-HF27, 7.4
-
Component/s: Nuxeo Drive
-
Sprint:Drive August, drive-8.1-4
-
Story Points:1
See NuxeoDriveManagerImpl#queryAndFecthSynchronizationRoots:
Set<IdRef> references = new LinkedHashSet<IdRef>(); Set<String> paths = new LinkedHashSet<String>(); IterableQueryResult results = session.queryAndFetch(query, NXQL.NXQL); try { for (Map<String, Serializable> result : results) { IdRef docRef = new IdRef(result.get("ecm:uuid").toString()); references.add(docRef); paths.add(session.getDocument(docRef).getPathAsString()); } } finally { results.close(); }
"Privilege 'Read' is not granted" can be thrown if permissions change between session.queryAndFetch and session.getDocument.
- is required by
-
NXP-17538 Drive: client might receive a 403 when trying to get a FileSystemItem for a non accessible doc
- Resolved
-
NXDRIVE-407 queryAndFecthSynchronizationRoots has a typo in the method
- Resolved