Bug 2071897 - Dashboard is breaking when object value is null
Summary: Dashboard is breaking when object value is null
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.10.0
Assignee: Bipul Adhikari
QA Contact: Aman Agrawal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-05 06:28 UTC by Bipul Adhikari
Modified: 2023-08-09 16:46 UTC (History)
9 users (show)

Fixed In Version: 4.10.0-220
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-21 09:12:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 170 0 None open Handle null values in the dashboard when connectivity is lost 2022-04-05 14:34:20 UTC
Github red-hat-storage odf-console pull 171 0 None open [release-4.10] Bug 2071897: Handle null values in the dashboard when connectivity is lost 2022-04-05 14:41:39 UTC
Github red-hat-storage odf-console pull 172 0 None open [release-4.10-compatilibty] Bug 2071897: Handle null values in the dashboard when connectivity is lost 2022-04-05 14:45:12 UTC

Description Bipul Adhikari 2022-04-05 06:28:12 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Dashboard breaks when it can't read object properties sometimes due to network issues. 


Version of all relevant components (if applicable): 4.10


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)? Yes


Is there any workaround available to the best of your knowledge? No


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)? 3


Can this issue reproducible? Yes


Can this issue reproduce from the UI? Yes



Steps to Reproduce:
1. Go to ODF Dashboard
2. Stop network calls from the browser Inspector
3.


Actual results: Page shouldn't break.


Expected results: Page breaks.


Additional info: Dashboard cards should handle null values.

Comment 8 Bipul Adhikari 2022-04-07 09:53:03 UTC
I do not believe a customer has a high chance of hitting this hence proposing this issue as a low severity issue. The precise timing of data connectivity loss required has been always present and we never hit this issue in 4.9 and in 4.10 as well this requires a precise timed network connectivity lost when the user presses ODF (for the first time). A easy workaround is just refreshing the page after the internet connection is restored.


Note You need to log in before you can comment on or make changes to this bug.