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

UI can trim whitespaces at the beginning or end of search query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2
    • 0.8.2, 1.0.0
    • atlas-webui
    • None

    Description

      For example, the below query has trailing space in the query resulting to not returning anything, but if you see semantically this query seems to be correct.

      If a user by mistake enters a whitespace at the beginning or end of search query, this will result in null response, which seems to be very strict. Instead, UI can trim the whitespaces at the beginning or end of the query. Please let me know your thoughts.

      query json sample:

      {"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"name","operator":"neq","attributeValue":"123"},{"attributeName":"name","operator":"startsWith","attributeValue":" hbase"},{"attributeName":"owner","operator":"startsWith","attributeValue":"hrt_qa"}]},"tagFilters":null,"attributes":[],"query":null,"limit":25,"offset":0,"typeName":"hbase_table","classification":null}
      

      Attachments

        1. ATLAS-2188.patch
          5 kB
          Keval Bhatt

        Issue Links

          Activity

            People

              kevalbhatt Keval Bhatt
              ayubpathan Ayub Pathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: