Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1822 Search Query Builder and Faceted Search in Atlas
  3. ATLAS-2082

Regression: Search fails when filter contains a boolean attribute and a string attribute with special characters

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8.1
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      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 :

      {  
         "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
      }
      

      Attachments

        1. ATLAS-2082.patch
          5 kB
          Madhan Neethiraj
        2. BooleanAndCapsStringSearch.txt
          21 kB
          Sharmadha S

        Activity

          People

            madhan Madhan Neethiraj
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: