Umesh Padashetty created ATLAS-4229:
---------------------------------------

             Summary: [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


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