Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In EntityGraphMapper.java
public AtlasVertex getResolvedEntityVertex(AtlasObjectId objId) {
AtlasVertex vertex = resolvedIdsByUniqAttribs.get(objId);
getResolvedEntityVertex method returns null if AtlasObjectId has AtlasRelatedObjectId.
Even if the AtlasObjectId and AtlasRelatedObjectId refer to the same entity (conceptually the same), they will have different hashcode, the server cannot use hashcode of AtlasRelatedObjectId to find AtlasObjectId.
The fix is to create new AtlasObjectId from AtlasRelatedObjectId values and use that for lookup
Attachments
Attachments
Issue Links
- links to