Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.0.0
-
None
Description
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.
{ "entityFilters":null, "tagFilters":{"condition":"AND","criterion":[{"attributeName":"attrib1","operator":"=","attributeValue":"random_str"}]}, "attributes":["attrib1"], "query":null, "excludeDeletedEntities":true, "limit":25, "typeName":null, "classification":"tag1" }