atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-911) Get entity by unique attribute doesn't enforce type
Date Fri, 17 Jun 2016 05:35:05 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335452#comment-15335452
] 

Shwetha G S commented on ATLAS-911:
-----------------------------------

The attached patch fixes the tests as well

> Get entity by unique attribute doesn't enforce type
> ---------------------------------------------------
>
>                 Key: ATLAS-911
>                 URL: https://issues.apache.org/jira/browse/ATLAS-911
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>            Priority: Critical
>             Fix For: 0.7-incubating
>
>         Attachments: ATLAS-911.patch
>
>
> Currently, get entity by unique attribute just filters on the attribute property. Since
the attribute name contains the typename as well, type filter was not added. But if multiple
types have the same super type, and the super type has the unique attribute, the attribute
name will be same for multiple types. With this, the type returned will not be same as the
type requested.
> We should add filter on the type as well



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message