Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Resolved
-
None
-
None
Description
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)
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)
Checked the CURL call directly (case where there are no match)
Response:
{ "queryType": "DSL", "queryText": "`hive_db` where name=\"some_invalid_db\"", "approximateCount": -1 }
Hence the issue is in UI alone and seems like a regression.
Attachments
Attachments
Issue Links
- links to