You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2018/06/08 21:41:00 UTC

[jira] [Created] (ATLAS-2750) Migration Import: Classification with Maps of Primitive Type are Not Processed

Ashutosh Mestry created ATLAS-2750:
--------------------------------------

             Summary: Migration Import: Classification with Maps of Primitive Type are Not Processed
                 Key: ATLAS-2750
                 URL: https://issues.apache.org/jira/browse/ATLAS-2750
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 1.0.0, trunk
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
             Fix For: trunk


*Pre-requisites*

Atlas v0.8 with types like the one attached (_tag_with_map_of_map_). Create entities and associate the tag with these entities.

*Steps to Reproduce*
 * Use Atlas v1.0 and perform migration import.
 * From _Classification_ tab select _tag_with_map_of_map._

*Expected behavior*: Associated entity should be displayed.

*Actual behavior*: Entity is not displayed. Server logs shows cast exception, '_cannot cast list to map_'.

*Root cause*

The migration import process maintains an inventory of types that use maps of primitive and non-primitive type. __The _TypesWithCollectionsFinder_ populates this. This class was not processing classification types. Hence, during import the classification instance vertices were left unprocessed for maps and arrays.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)