Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Pre-requisite
On Atlas v0.8: Create few entities say entity1 and classifications say tag1. Associate tag1 to entity1.
Steps to duplicate on Atlas v1.0
- Perform migration import.
- From the web ui select tag1, notice that entity1 is displayed.
- Attempt to remove tag1 from entity1.
Expected result: tag1 should be removed from entity1.
Actual result: tag1 is not removed. Server logs show 'No classifications associated with entity.'
Root cause: Imported edges that associate vertex with classification vertex do not have __isPropagate property set. The EntityGraphMapper.deleteClassification calls getTraitNames with isPropagate set to false. This makes the call return with no entities. The deletion thus fails.