You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (JIRA)" <ji...@apache.org> on 2017/05/15 06:18:04 UTC
[jira] [Assigned] (ATLAS-1788) UI : Wildcard search with "?" throws
exception in basic search
[ https://issues.apache.org/jira/browse/ATLAS-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sarath Subramanian reassigned ATLAS-1788:
-----------------------------------------
Assignee: Sarath Subramanian
> 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)