Sharmadha Sainath created ATLAS-1788:
----------------------------------------

             Summary: UI : Wildcard search with "?" throws exception in basic 
search
                 Key: ATLAS-1788
                 URL: https://issues.apache.org/jira/browse/ATLAS-1788
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
    Affects Versions: trunk, 0.9-incubating
            Reporter: Sharmadha Sainath
         Attachments: wildcard_search.txt

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
{code}
http://172.27.19.74:21000/api/atlas/v2/search?limit=25&query=kakfa_topic_iAEz
{code}

if query is "kafka_topic_?AEzb"
corresponding query fired is :
{code}
http://172.27.19.74:21000/api/atlas/v2/search?limit=25&query=kafka_topic_
{code}

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.
{code}
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";
{code}

Attached the WebApplication exception thrown while making the query.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to