[ 
https://issues.apache.org/jira/browse/ATLAS-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312379#comment-17312379
 ] 

ASF subversion and git services commented on ATLAS-4229:
--------------------------------------------------------

Commit 395574e8279fdbfd520e5b6e43c30261e53fb34e in atlas's branch 
refs/heads/branch-2.0 from prasad pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=395574e ]

ATLAS-4229: UI[DSL-Advanced search] If the search query does not match any 
results, then Atlas UI keep loading forever.

Signed-off-by: nixonrodrigues <ni...@apache.org>
(cherry picked from commit 4be86b58732ede51c6e0228a4ee102f7283d9652)


> [Regression] [DSL-Advanced search] If the search query does not match any 
> results, then Atlas UI keep loading forever 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4229
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4229
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>            Reporter: Umesh Padashetty
>            Assignee: Prasad P. Pawar
>            Priority: Blocker
>              Labels: DSL
>         Attachments: 
> 0001-ATLAS-4229-UI-DSL-Advanced-search-If-the-search-quer.patch, 
> ATLAS_4229_1.png
>
>
> Observing an issue in DSL (Advanced search), if the search query does not 
> match any results, then Atlas UI takes forever to return the results. It just 
> wont stop loading.
>  
> Whereas if there is a match, the results are returned almost immediately and 
> displayed on the UI.
> On further checking, observed the below error in Console tab when the UI 
> keeps loading (when there is no match)
> {code:java}
> Uncaught TypeError: Cannot convert undefined or null to object
>  at Function.keys (<anonymous>)
>  at N.d.tableRender (SearchResultLayoutView.js?bust=1615290982036:332)
>  at SearchResultLayoutView.js?bust=1615290982036:365
>  at Object.execCb (require.js?bust=1615290982036:1)
>  at t.check (require.js?bust=1615290982036:1)
>  at t.<anonymous> (require.js?bust=1615290982036:1)
>  at require.js?bust=1615290982036:1
>  at require.js?bust=1615290982036:1
>  at each (require.js?bust=1615290982036:1)
>  at t.emit (require.js?bust=1615290982036:1) {code}
> Checked the CURL call directly (case where there are no match)
> Response:
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`hive_db` where name=\"some_invalid_db\"",
>  "approximateCount": -1
> } {code}
> Hence the issue is in UI alone and seems like a regression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to