Yellow screen of death when deleting a device with the glimmer icon (newly created) when in the feature/packagePage branch. This may have been introduced with the glimmer icon in this branch... as the master branch works properly.
Steps to reproduce
Create a new device
Notice the glimmer icon next to the name of the new device in the grid
DO NOT REFRESH THE PAGE
Check the box next to that new device
Delete that new device
Expected behavior
Device is deleted from the server and within the grid.
Current behavior <!-- The actual behavior observed --
Device is deleted from the server, but the UI page goes blank and comes up with the yellow screen of death.
Known workarounds
Refresh the page. Things will appear correctly deleted. Items that are not newly created (i.e only exist in the redux store because we put them there and don't have the glimmer icon) will be deletable with no error.
Possible solution
Something appears to be missing (or perhaps added) in the data added to the redux store for newly created items which causes the error.
Type of issue
Description
Yellow screen of death when deleting a device with the glimmer icon (newly created) when in the feature/packagePage branch. This may have been introduced with the glimmer icon in this branch... as the master branch works properly.
Steps to reproduce
Expected behavior
Device is deleted from the server and within the grid.
Current behavior <!-- The actual behavior observed --
Device is deleted from the server, but the UI page goes blank and comes up with the yellow screen of death.
Known workarounds
Refresh the page. Things will appear correctly deleted. Items that are not newly created (i.e only exist in the redux store because we put them there and don't have the glimmer icon) will be deletable with no error.
Possible solution
Something appears to be missing (or perhaps added) in the data added to the redux store for newly created items which causes the error.
Context and Environment
Screenshot