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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.8.1, 1.0.0
    • Component/s: atlas-core
    • Labels:
      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. BooleanAndCapsStringSearch.txt
          21 kB
          Sharmadha S
        2. ATLAS-2082.patch
          5 kB
          Madhan Neethiraj

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: