[
https://issues.apache.org/jira/browse/ATLAS-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507420#comment-16507420
]
ASF subversion and git services commented on ATLAS-2750:
--------------------------------------------------------
Commit 6acbb0264926bcdf26b354fbd11132b0d6410a1d in atlas's branch
refs/heads/branch-1.0 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=6acbb02 ]
ATLAS-2748, ATLAS-2849, ATLAS-2750: Edges' state preserved during import.
Classification dissociation fails on imported entities with classifications.
Processing classifications with attributes containing maps and arrays.
(cherry picked from commit 7174257bf131f531a5f86ccb574ddb512af69623)
> 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)