[
https://issues.apache.org/jira/browse/ATLAS-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191170#comment-16191170
]
Keval Bhatt edited comment on ATLAS-2188 at 10/4/17 11:57 AM:
--------------------------------------------------------------
Thanks [~ayubkhan] for review.
Committed to the following branches.
* Master: http://git-wip-us.apache.org/repos/asf/atlas/commit/4fe70de8
* branch-0.8: http://git-wip-us.apache.org/repos/asf/atlas/commit/19cd61d0
was (Author: kevalbhatt18):
Thanks [~ayubkhan] for review.
Committed to the following branch.
* Master: http://git-wip-us.apache.org/repos/asf/atlas/commit/4fe70de8
* branch-0.8: http://git-wip-us.apache.org/repos/asf/atlas/commit/19cd61d0
> UI can trim whitespaces at the beginning or end of search query
> ---------------------------------------------------------------
>
> Key: ATLAS-2188
> URL: https://issues.apache.org/jira/browse/ATLAS-2188
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 0.8.2
> Reporter: Ayub Pathan
> Assignee: Keval Bhatt
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2188.patch
>
>
> For example, the below query has trailing space in the query resulting to not
> returning anything, but if you see semantically this query seems to be
> correct.
> If a user by mistake enters a whitespace at the beginning or end of search
> query, this will result in null response, which seems to be very strict.
> Instead, UI can trim the whitespaces at the beginning or end of the query.
> Please let me know your thoughts.
> query json sample:
> {noformat}
> {"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"name","operator":"neq","attributeValue":"123"},{"attributeName":"name","operator":"startsWith","attributeValue":"
>
> hbase"},{"attributeName":"owner","operator":"startsWith","attributeValue":"hrt_qa"}]},"tagFilters":null,"attributes":[],"query":null,"limit":25,"offset":0,"typeName":"hbase_table","classification":null}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)