[
https://issues.apache.org/jira/browse/ATLAS-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keval Bhatt updated ATLAS-2080:
-------------------------------
Attachment: ATLAS-2080.patch
> Search using entity and trait attributes - tag filters are also added in the
> "attributes" list of the POST request body
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-2080
> URL: https://issues.apache.org/jira/browse/ATLAS-2080
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 0.9-incubating
> Reporter: Sharmadha Sainath
> Assignee: Keval Bhatt
> Priority: Critical
> Fix For: 0.9-incubating, 0.8.1-incubating
>
> Attachments: ATLAS-2080.patch
>
>
> 1. Created a tag tag1 with attributes attrib1 (string) , attrib2 (int)
> 2. Fired basic search classification = tag1 and filters attrib1 =
> "random_str".
> 3. Search failed with 500 Internal server error . Because "attrib1" (which is
> a tag filter) was also considered as one of the attributes. Only attributes
> in the entity filters are expected to be added in the "attributes" list.
> {code}
> {
> "entityFilters":null,
> "tagFilters":{"condition":"AND","criterion":[{"attributeName":"attrib1","operator":"=","attributeValue":"random_str"}]},
> "attributes":["attrib1"],
> "query":null,
> "excludeDeletedEntities":true,
> "limit":25,
> "typeName":null,
> "classification":"tag1"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)