atlas-dev mailing list archives

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


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:
>             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

View raw message