You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to query for objects that don't exist on the DataHub instance (due to differences between environments), which currently returns an error. This should be handled rather than returning an error as it causes confusion during development. It's unlikely that such searches would be possible to encounter in the production environment.
To Reproduce
KeyError for properties["name"] when filtering for Databases (containers) on the dev DataHub instance (prior to databases being added / implemented).
Expected Behaviour
A search with 0 entries because none are present on the instance should return 0 results, rather than a key error.
Additional context
No response
The text was updated successfully, but these errors were encountered:
The 404 response is working as expected on the details page
I've added a partial to render a (hopefully) helpful message in the event that search returns no results Tidy empty search results page #320
The copy may need to be improved later, but this allows us to handle this case without blowing up and without rendering unnecessary parts of the page like pagination
Describe the bug.
It's possible to query for objects that don't exist on the DataHub instance (due to differences between environments), which currently returns an error. This should be handled rather than returning an error as it causes confusion during development. It's unlikely that such searches would be possible to encounter in the production environment.
To Reproduce
KeyError
forproperties["name"]
when filtering for Databases (containers) on thedev
DataHub instance (prior to databases being added / implemented).Expected Behaviour
A search with 0 entries because none are present on the instance should return 0 results, rather than a key error.
Additional context
No response
The text was updated successfully, but these errors were encountered: