]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-1087, CSPACE-1141: Relation validation handler now prevents creating relations...
authorRichard Millet <richard.millet@berkeley.edu>
Fri, 7 Jan 2011 17:29:57 +0000 (17:29 +0000)
committerRichard Millet <richard.millet@berkeley.edu>
Fri, 7 Jan 2011 17:29:57 +0000 (17:29 +0000)
commitc8bc4614ad352aa0550c00b0f667f4d83ae3c466
treee0cd4e9eb88733a7f1750207f6bc928318e4a52a
parent6311342cbd79e0203fe5837dc647eaa059d36689
CSPACE-1087, CSPACE-1141: Relation validation handler now prevents creating relationships where the subject ID and object ID are the same.  Also, relation validation now enforces non-null values for subject id, predicate type, and object id upon creation.
services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java
services/common/.classpath
services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
services/common/src/main/java/org/collectionspace/services/common/context/ServiceContext.java
services/common/src/main/java/org/collectionspace/services/common/document/InvalidDocumentException.java
services/common/src/main/java/org/collectionspace/services/common/document/ValidatorHandler.java
services/common/src/main/java/org/collectionspace/services/common/document/ValidatorHandlerImpl.java [new file with mode: 0644]
services/common/src/main/resources/service.xsd
services/relation/client/src/test/java/org/collectionspace/services/client/test/RelationServiceTest.java
services/relation/service/src/main/java/org/collectionspace/services/relation/NewRelationResource.java
services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationValidatorHandler.java