[
https://issues.apache.org/jira/browse/ATLAS-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506611#comment-16506611
]
Sarath Subramanian commented on ATLAS-2750:
-------------------------------------------
+1
> 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
> Priority: Major
> Fix For: trunk
>
> Attachments:
> ATLAS-2750-Processing-classifications-with-attribute.patch
>
>
> *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)