Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
1. Created a tag tag1 with attributes of all data types.
2. Fired a basic search with tag1 and following tag filters of type string:
a)string != rand
b)string is not null
POST body
{ "excludeDeletedEntities":true, "entityFilters":null, "tagFilters":{ "condition":"AND", "criterion":[ { "attributeName":"string", "operator":"neq", "attributeValue":"rand" }, { "attributeName":"string", "operator":"not_null", "attributeValue":"" } ] }, "attributes":null, "limit":25, "offset":0, "typeName":null, "classification":"tag1" }
The search threw 500 Internal server exception. Attached the stack trace .
Note :
1)This exception is not seen if order is reversed (i.e) , in the order
a)string is not null
b)string != rand
In this order , correct results are fetched.
2)For string and boolean data types , this exception is seen. This was not seen with int , float, short , double , date , enum .
3)Also , this issue is seen only in tag attribute filters and not in type attribute filters.
Attachments
Attachments
Issue Links
- links to