[ 
https://issues.apache.org/jira/browse/ATLAS-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mandar Ambawane updated ATLAS-3411:
-----------------------------------
    Description: 
1.Created 2 association relationships between 2 types using the same attribute 
"rel_attribute".
 2.Created entities with the first relationship . Relationship is created 
successfully.
 3. In the entitydef of entity1 , "rel_attribute" is not found in both 
relatedAttributes / attributes. But in entitydef of entity2 "rel_attribute" is 
found which contains entity1 information.

This happens only when multiple relations are created on the same attribute.

Repro steps :

1. Create types by posting multi_entity_types.json (to create entity types) and 
multi_relationships.json (to create relationship typedefs) to v2/types/typedefs

2. Create entities by POSTing multi_entities.json to /v2/entity/bulk

3.Create relationship between the entities by POSTing the 
multi_relationship_instance.json to /v2/relationship (entity guids to be 
modified)

In entity1's entitydef, it can be seen that "rel_attirbute" is not present at 
all though the relationship guid is defined between entity1 and entity2.

  was:
1.Created 2 association relationships between 2 types using the same attribute 
"rel_attribute".
2.Created entities with the first relationship . Relationship is created 
successfully.
3. In the entitydef of entity1 , "rel_attribute" is not found in both 
relatedAttributes / attributes. But in entitydef of entity2 "rel_attribute" is 
found which contains entity1 information.

This happens only when multiple relations are created on the same attribute.

Repro steps (Attached the payloads) :

1. Create types by posting multi_entity_types.json (to create entity types) and 
multi_relationships.json (to create relationship typedefs) to v2/types/typedefs

2. Create entities by POSTing multi_entities.json to /v2/entity/bulk

3.Create relationship between the entities by POSTing the 
multi_relationship_instance.json to /v2/relationship (entity guids to be 
modified)

In entity1's entitydef, it can be seen that "rel_attirbute" is not present at 
all though the relationship guid is defined between entity1 and entity2.


> Relationships : Having multiple relationships on the same attribute
> -------------------------------------------------------------------
>
>                 Key: ATLAS-3411
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3411
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Mandar Ambawane
>            Assignee: Mandar Ambawane
>            Priority: Major
>
> 1.Created 2 association relationships between 2 types using the same 
> attribute "rel_attribute".
>  2.Created entities with the first relationship . Relationship is created 
> successfully.
>  3. In the entitydef of entity1 , "rel_attribute" is not found in both 
> relatedAttributes / attributes. But in entitydef of entity2 "rel_attribute" 
> is found which contains entity1 information.
> This happens only when multiple relations are created on the same attribute.
> Repro steps :
> 1. Create types by posting multi_entity_types.json (to create entity types) 
> and multi_relationships.json (to create relationship typedefs) to 
> v2/types/typedefs
> 2. Create entities by POSTing multi_entities.json to /v2/entity/bulk
> 3.Create relationship between the entities by POSTing the 
> multi_relationship_instance.json to /v2/relationship (entity guids to be 
> modified)
> In entity1's entitydef, it can be seen that "rel_attirbute" is not present at 
> all though the relationship guid is defined between entity1 and entity2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to