[
https://issues.apache.org/jira/browse/ATLAS-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated ATLAS-3359:
------------------------------------
Fix Version/s: 3.0.0
(was: 2.3.0)
> Relationships : Unique attribute in a relationship is not honored
> -----------------------------------------------------------------
>
> Key: ATLAS-3359
> URL: https://issues.apache.org/jira/browse/ATLAS-3359
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Nixon Rodrigues
> Assignee: Mayank Jain
> Priority: Major
> Fix For: 3.0.0
>
> Attachments:
> ATLAS-3359-Relationships-Unique-attribute-in-a-relat-3.patch
>
>
> 1.Created a relationship typedef between type1 & type2 with attribute "attr1"
> which is unique (set "IsUnique" to true).
> 2. Created entity1 (type1) and entity2(type2) and created a relationship
> instance between them with "attr1" value , say "value1".
> 3. Created entity3 (type1) and entity4(type2) and created a relationship
> instance between them with "attr1" value with the same value "value1".
> Expected the relationship creation between entity3 and entity4 would fail
> because a relationship with "attr1 " with "value1" is already created between
> entity1 and entity2. But request passed and the relationship is created
> successfully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)