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

UI : Wildcard search with "?" throws exception in basic search

    XMLWordPrintableJSON

Details

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

    Description

      Wildcard search with "?" throws 500 internal error.
      Example :
      Basic search :
      type name : kafka_topic
      query : kakfa_topic_iAEz?

      throws 500 Internal server error .

      The corresponding query fired is

      http://172.27.19.74:21000/api/atlas/v2/search?limit=25&query=kakfa_topic_iAEz
      

      if query is "kafka_topic_?AEzb"
      corresponding query fired is :

      http://172.27.19.74:21000/api/atlas/v2/search?limit=25&query=kafka_topic_
      

      Note : content after "?" is ignored and query is not formed correctly (basic keyword is missed)

      The following curl command runs fine returns 200 Ok with correct results.

      curl -u admin:admin -X GET "http://172.27.19.74:21000/api/atlas/v2/search/basic?limit=25&excludeDeletedEntities=true&query=kakfa_topic_iAEz?&typeName=kafka_topic"
      

      Attached the WebApplication exception thrown while making the query.

      Attachments

        1. wildcard_search.txt
          8 kB
          Sharmadha S

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: