]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5119,CSPACE-5135: Client tests of the Person service now run with what appear...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 1 May 2012 02:18:02 +0000 (19:18 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 1 May 2012 02:18:02 +0000 (19:18 -0700)
services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClientUtils.java

index a0f5668b26b38a93dd580e1aa2b436128f7e2b56..60bcc7b6ecd7d18373b91de95f0147852615cbcf 100644 (file)
@@ -219,9 +219,13 @@ public class PersonAuthorityClientUtils {
                person.setNameNote(value);\r
         \r
         // Set values in the Term Information Group\r
-        PersonTermGroupList termList = person.getPersonTermGroupList();\r
-        List<PersonTermGroup> existingTerms = termList.getPersonTermGroup();\r
-        existingTerms = terms;\r
+        /*\r
+        PersonTermGroupList termList = new PersonTermGroupList();\r
+        termList.getPersonTermGroup().addAll(terms);\r
+        person.setPersonTermGroupList(termList);\r
+        * \r
+        */\r
+        \r
         \r
         if (personRepeatablesInfo != null) {\r
             if((values = (List<String>)personRepeatablesInfo.get(PersonJAXBSchema.GROUPS))!=null) {\r