Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2080

Search using entity and trait attributes - tag filters are also added in the "attributes" list of the POST request body

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-webui
    • 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"
      }
      

      Attachments

        1. ATLAS-2080.patch
          9 kB
          Keval Bhatt

        Activity

          People

            kevalbhatt Keval Bhatt
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: