]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-1927 Update to displayName for an authority item will update all the reference...
authorPatrick Schmitz <pschmitz@berkeley.edu>
Tue, 15 Nov 2011 00:22:26 +0000 (00:22 +0000)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Tue, 15 Nov 2011 00:22:26 +0000 (00:22 +0000)
commite35abcb663f201ce13a72ae0ea46638c5bcc1e70
tree8d286074a9c1b903220c01c4b893e3037febf732
parent3f6fa24fe2727552a0ca875f18575d0572b035b5
CSPACE-1927 Update to displayName for an authority item will update all the references to that item. Loops through found referring objects in sets of 100, updates the fields that match, and saves en bulk (does not invoke normal validation, etc.). Fixed some minor bugs in Person Validation handlers that would produce gratuitous errors.
12 files changed:
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/authrefs.xml
services/IntegrationTests/src/test/resources/test-data/xmlreplay/authrefs/res/loanout.res.xml [new file with mode: 0644]
services/IntegrationTests/src/test/resources/test-data/xmlreplay/xml-replay-master.xml
services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/AuthorityResource.java
services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java
services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml
services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReaderImpl.java
services/common/src/main/java/org/collectionspace/services/common/context/ServiceBindingUtils.java
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java
services/person/service/src/main/java/org/collectionspace/services/person/nuxeo/PersonAuthorityValidatorHandler.java
services/person/service/src/main/java/org/collectionspace/services/person/nuxeo/PersonValidatorHandler.java