From f748ac602f806e1c66541d042d31011884b579ec Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Mon, 30 Apr 2012 19:18:02 -0700 Subject: [PATCH] CSPACE-5119,CSPACE-5135: Client tests of the Person service now run with what appear to be only server-side errors. --- .../services/client/PersonAuthorityClientUtils.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClientUtils.java b/services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClientUtils.java index a0f5668b2..60bcc7b6e 100644 --- a/services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClientUtils.java +++ b/services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClientUtils.java @@ -219,9 +219,13 @@ public class PersonAuthorityClientUtils { person.setNameNote(value); // Set values in the Term Information Group - PersonTermGroupList termList = person.getPersonTermGroupList(); - List existingTerms = termList.getPersonTermGroup(); - existingTerms = terms; + /* + PersonTermGroupList termList = new PersonTermGroupList(); + termList.getPersonTermGroup().addAll(terms); + person.setPersonTermGroupList(termList); + * + */ + if (personRepeatablesInfo != null) { if((values = (List)personRepeatablesInfo.get(PersonJAXBSchema.GROUPS))!=null) { -- 2.47.3