Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C2460200C67 for ; Mon, 15 May 2017 08:29:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0D80160BD0; Mon, 15 May 2017 06:29:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1225D160BC1 for ; Mon, 15 May 2017 08:29:08 +0200 (CEST) Received: (qmail 97349 invoked by uid 500); 15 May 2017 06:29:08 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 97338 invoked by uid 99); 15 May 2017 06:29:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2017 06:29:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B9A18C03A3 for ; Mon, 15 May 2017 06:29:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -97.201 X-Spam-Level: X-Spam-Status: No, score=-97.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 46J7-PooSQAi for ; Mon, 15 May 2017 06:29:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DA0685FE41 for ; Mon, 15 May 2017 06:29:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 45562E0D5F for ; Mon, 15 May 2017 06:29:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 02B452431D for ; Mon, 15 May 2017 06:29:05 +0000 (UTC) Date: Mon, 15 May 2017 06:29:05 +0000 (UTC) From: "Sarath Subramanian (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-1788) UI : Wildcard search with "?" throws exception in basic search MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 15 May 2017 06:29:09 -0000 [ 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)