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

[jira] [Created] (ATLAS-3359) Relationships : Unique attribute in a relationship is not honored

Nixon Rodrigues created ATLAS-3359:
--------------------------------------

             Summary: 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
             Fix For: 2.1.0


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
(v7.6.14#76016)