You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/08/23 16:43:00 UTC

[jira] [Created] (ATLAS-2082) Regression : Search using entity and trait attributes - Issue with capitalized string filter attributes and boolean filters

Sharmadha Sainath created ATLAS-2082:
----------------------------------------

             Summary: Regression : Search using entity and trait attributes - Issue with capitalized string filter attributes and boolean filters
                 Key: ATLAS-2082
                 URL: https://issues.apache.org/jira/browse/ATLAS-2082
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.9-incubating
            Reporter: Sharmadha Sainath
            Priority: Critical
         Attachments: BooleanAndCapsStringSearch.txt

When a search is applied with 2 filters : boolean and string and if string filter has capitalized characters, Atlas throws 500 Internal server error.
Example POST body request :
{code}
{  
   "entityFilters":{  
      "condition":"AND",
      "criterion":[  
         {  
            "attributeName":"isFile",
            "operator":"=",
            "attributeValue":"true"
         },
         {  
            "attributeName":"owner",
            "operator":"=",
            "attributeValue":"Hrt_qa"
         }
      ]
   },
   "tagFilters":null,
   "attributes":[  
      "isFile"
   ],
   "query":null,
   "excludeDeletedEntities":true,
   "limit":25,
   "typeName":"hdfs_path",
   "classification":null
}
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)