Commit 5e496e5e by Madhan Neethiraj

ATLAS-2456: Implement tag propagation using relationships - #2

parent d74f0ce9
...@@ -1463,7 +1463,7 @@ public class EntityGraphMapper { ...@@ -1463,7 +1463,7 @@ public class EntityGraphMapper {
String classificationName = classification.getTypeName(); String classificationName = classification.getTypeName();
String classificationEntityGuid = classification.getEntityGuid(); String classificationEntityGuid = classification.getEntityGuid();
if (StringUtils.isNotEmpty(classificationEntityGuid) && StringUtils.equalsIgnoreCase(guid, classificationEntityGuid)) { if (StringUtils.isNotEmpty(classificationEntityGuid) && !StringUtils.equalsIgnoreCase(guid, classificationEntityGuid)) {
throw new AtlasBaseException(AtlasErrorCode.CLASSIFICATION_UPDATE_FROM_PROPAGATED_ENTITY, classificationName); throw new AtlasBaseException(AtlasErrorCode.CLASSIFICATION_UPDATE_FROM_PROPAGATED_ENTITY, classificationName);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment