From: Aron Roberts Date: Tue, 1 May 2012 02:18:02 +0000 (-0700) Subject: CSPACE-5119,CSPACE-5135: Client tests of the Person service now run with what appear... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=f748ac602f806e1c66541d042d31011884b579ec;p=tmp%2Fjakarta-migration.git CSPACE-5119,CSPACE-5135: Client tests of the Person service now run with what appear to be only server-side errors. --- 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) {