Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2749

Migration Import: Associated Classifications Cannot Be Deleted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • trunk
    • atlas-core
    • 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 resulttag1 should be removed from entity1.

      Actual resulttag1 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.

       

      Attachments

        Activity

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: