From 1a4a7207e39005380400ca1d9c5b03bf04265d23 Mon Sep 17 00:00:00 2001 From: Richard Millet Date: Tue, 3 Jul 2012 18:11:56 -0700 Subject: [PATCH] CSPACE-4406: Adding comments so we can fix refObjs payload when the target of the call is itself a authority item --- .../services/common/vocabulary/RefNameServiceUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3