Sharmadha Sainath created ATLAS-2080:
----------------------------------------
Summary: 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
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)