Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Allow classifications on proxies, for #390
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Grote <cmgrote@users.noreply.github.com>
  • Loading branch information
cmgrote committed Aug 24, 2022
1 parent c4afdd5 commit 4ccf5d2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public UpdateEntityClassification(Long txId,
throw new EntityNotKnownException(XtdbOMRSErrorCode.ENTITY_NOT_KNOWN.getMessageDefinition(
entityGUID), this.getClass().getName(), METHOD_NAME);
} else {
TxnValidations.nonProxyEntity(existing, entityGUID, CLASS_NAME, METHOD_NAME);
TxnValidations.entityFromStore(entityGUID, existing, CLASS_NAME, METHOD_NAME);
TxnValidations.instanceIsNotDeleted(existing, entityGUID, CLASS_NAME, METHOD_NAME);
TxnValidations.instanceCanBeUpdated(existing, entityGUID, metadataCollectionId, classificationName, CLASS_NAME, METHOD_NAME);
Expand Down

0 comments on commit 4ccf5d2

Please sign in to comment.