Commit 877e2b17 by Deep Singh Committed by Ashutosh Mestry

ATLAS-3965: Relationships with null values are missing in entity relationshipAttributes

parent ac573f33
......@@ -1352,13 +1352,12 @@ public class EntityGraphRetriever {
break;
}
if (ret != null) {
// Set Relationship attributes, even if the value is null
entity.setRelationshipAttribute(attributeName, ret);
if (attributeEndDef.getIsLegacyAttribute() && !entity.hasAttribute(attributeName)) {
entity.setAttribute(attributeName, toLegacyAttribute(ret));
}
}
return ret;
}
......
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