[
https://issues.apache.org/jira/browse/ATLAS-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasad P. Pawar updated ATLAS-4229:
-----------------------------------
Labels: DSL (was: )
> [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)