[ https://issues.apache.org/jira/browse/ATLAS-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010027#comment-16010027 ]
Sarath Subramanian commented on ATLAS-1788: ------------------------------------------- [~ssainath], got it. UI seems to ignore value after "?" in query and the REST url seems to be incorrect. Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/v2/search?limit=25&query=employee_&_=1494829505221 (10.0.2.15) at time 2017-05-15T06:26Z > 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 > Assignee: Sarath Subramanian > 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)