Commit 1d8b81d8 by Ashutosh Mestry

ATLAS-2805: Applying classification updates modificationTimestamp

parent 90958e83
...@@ -1372,6 +1372,7 @@ public class EntityGraphMapper { ...@@ -1372,6 +1372,7 @@ public class EntityGraphMapper {
// add the attributes for the trait instance // add the attributes for the trait instance
mapClassification(EntityOperation.CREATE, context, classification, entityType, entityVertex, classificationVertex); mapClassification(EntityOperation.CREATE, context, classification, entityType, entityVertex, classificationVertex);
updateModificationMetadata(entityVertex);
if (propagateTags) { if (propagateTags) {
// compute propagatedEntityVertices only once // compute propagatedEntityVertices only once
...@@ -1624,6 +1625,7 @@ public class EntityGraphMapper { ...@@ -1624,6 +1625,7 @@ public class EntityGraphMapper {
} }
mapClassification(EntityOperation.UPDATE, context, classification, entityType, entityVertex, classificationVertex); mapClassification(EntityOperation.UPDATE, context, classification, entityType, entityVertex, classificationVertex);
updateModificationMetadata(entityVertex);
// handle update of 'propagate' flag // handle update of 'propagate' flag
Boolean currentTagPropagation = currentClassification.isPropagate(); Boolean currentTagPropagation = currentClassification.isPropagate();
......
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