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
Any container utilizing the EnhancedTable component needs to gracefully handle the selection of rows to avoid calling toggleRowSelected on a seemingly undefined row, causing a react crash.
To Reproduce
Can be reproduced in several ways, simplest ones being:
First method
Open the Storage/Apps tab, displaying the marketplace apps
Select any app
Use the search bar to filter the table output, hold CTRL and select another app, you should now have two apps selected and the details view should confirm this.
Try deselecting the FIRST app, AKA the one you selected in the first step, by pressing the little circled X button in the tag ⦻
The deleted VM is still being displayed in the details tab/container, even though it no longer exists. So from the tables perspective, it is still selected.
Press the ⦻ button in the corner of the detailed view, attempting to close it
This will result in a react crash, same way as in the first method.
Additional Context
It does not affect every single component that utilizes the EnhancedTable. For example, for the VM Templates, this is not the case. When a VM Template is deleted, the row is automatically de-referenced (and detailed view closes).
Expected behavior
The selected row toggle should always be able to deselect rows, no matter the context.
Details
Affected Component: [FireEdge]
Version: [Development] - Most likely affects other versions too.
Progress Status
Code committed
Testing - QA
Documentation (Release notes - resolved issues, compatibility, known issues)
The text was updated successfully, but these errors were encountered:
Description
Any container utilizing the
EnhancedTable
component needs to gracefully handle the selection of rows to avoid callingtoggleRowSelected
on a seemingly undefined row, causing a react crash.To Reproduce
Can be reproduced in several ways, simplest ones being:
First method
Storage/Apps
tab, displaying the marketplace appsUse the search bar to filter the table output, hold
CTRL
and select another app, you should now have two apps selected and the details view should confirm this.Try deselecting the
FIRST
app, AKA the one you selected in the first step, by pressing the little circled X button in the tag⦻
This will result in a react crash:
Second method
Instances/VMs
tab, displaying the VMs⦻
button in the corner of the detailed view, attempting to close itThis will result in a react crash, same way as in the first method.
Additional Context
It does not affect every single component that utilizes the
EnhancedTable
. For example, for theVM Templates
, this is not the case. When aVM Template
is deleted, the row is automatically de-referenced (and detailed view closes).Expected behavior
The selected row toggle should always be able to deselect rows, no matter the context.
Details
Progress Status
The text was updated successfully, but these errors were encountered: