From: Richard Millet Date: Wed, 4 Jul 2012 01:11:56 +0000 (-0700) Subject: CSPACE-4406: Adding comments so we can fix refObjs payload when the target of the... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=1a4a7207e39005380400ca1d9c5b03bf04265d23;p=tmp%2Fjakarta-migration.git CSPACE-4406: Adding comments so we can fix refObjs payload when the target of the call is itself a authority item --- diff --git a/services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java b/services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java index c79344749..e6cce710e 100644 --- a/services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java +++ b/services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java @@ -257,10 +257,10 @@ public class RefNameServiceUtils { String fieldList = "docType|docId|docNumber|docName|sourceField|uri|updatedAt|workflowState"; commonList.setFieldsReturned(fieldList); - int nRefsFound = processRefObjsDocList(docList, refName, queriedServiceBindings, authRefFieldsByService, + int nRefsFound = processRefObjsDocList(docList, refName, queriedServiceBindings, authRefFieldsByService, // the actual list size needs to be updated to the size of "list" list, null); if(logger.isDebugEnabled() && (nRefsFound < docList.size())) { - logger.debug("Internal curiosity: got fewer matches of refs than # docs matched..."); + logger.debug("Internal curiosity: got fewer matches of refs than # docs matched..."); // We found a ref to ourself and have excluded it. } } catch (Exception e) { logger.error("Could not retrieve the Nuxeo repository", e);