String fieldList = "docType|docId|docNumber|docName|sourceField|uri|updatedAt|workflowState";\r
commonList.setFieldsReturned(fieldList);\r
\r
- int nRefsFound = processRefObjsDocList(docList, refName, queriedServiceBindings, authRefFieldsByService,\r
+ int nRefsFound = processRefObjsDocList(docList, refName, queriedServiceBindings, authRefFieldsByService, // the actual list size needs to be updated to the size of "list"\r
list, null);\r
if(logger.isDebugEnabled() && (nRefsFound < docList.size())) {\r
- logger.debug("Internal curiosity: got fewer matches of refs than # docs matched...");\r
+ logger.debug("Internal curiosity: got fewer matches of refs than # docs matched..."); // We found a ref to ourself and have excluded it.\r
}\r
} catch (Exception e) {\r
logger.error("Could not retrieve the Nuxeo repository", e);\r