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
Deploy an application (e.g. the getting started sample app).
Delete the environment to which the application has been deployed, but do not delete the application.
Navigate to the "Resources" tab in the Dashboard
Observed behavior
The page crashes with the following error:
Error
TypeError
Message
Cannot read properties of null (reading 'scrollWidth')
Stack Trace
TypeError: Cannot read properties of null (reading 'scrollWidth')
at pe.value (http://localhost:8001/static/module-backstage.90137cf3.js:37:197926)
at Ya (http://localhost:8001/static/module-react-dom.e70bfe01.js:14:1661)
at qa (http://localhost:8001/static/module-react-dom.e70bfe01.js:16:5000)
at O.unstable_runWithPriority (http://localhost:8001/static/vendor.67e48f7d.js:147:3895)
at Ze (http://localhost:8001/static/module-react-dom.e70bfe01.js:12:38411)
at nn (http://localhost:8001/static/module-react-dom.e70bfe01.js:16:1786)
at Si (http://localhost:8001/static/module-react-dom.e70bfe01.js:14:10983)
at http://localhost:8001/static/module-react-dom.e70bfe01.js:12:38633
at O.unstable_runWithPriority (http://localhost:8001/static/vendor.67e48f7d.js:147:3895)
at Ze (http://localhost:8001/static/module-react-dom.e70bfe01.js:12:38411)
Desired behavior
The "orphaned" resources continue to be displayed, but contain a warning about their "parent" environment having been deleted.
Workaround
No response
Additional context
No response
Would you like to support us?
Yes, I would like to support you
AB#12040
The text was updated successfully, but these errors were encountered:
I dont see this behavior anymore. When I delete an environment, the applications and resources in the env also get deleted. I will test a few more scenarios.
willtsai
added
triaged
This item has been triaged by project maintainers and is in the backlog
and removed
triaged
This item has been triaged by project maintainers and is in the backlog
labels
Apr 23, 2024
I am also getting the same results on both v0.32 and v0.33 where the app gets deleted along with the env and thus the Dashboard crash does not happen (it accurately shows "no records to display").
The environment deletion behavior is a bit unclear, however, of the implication that the apps would get deleted along with the env deletion. Thus, @nithyatsu created this additional issue to request enhancement in the env deletion flow to make this clear: radius-project/radius#7529
Steps to reproduce
Observed behavior
The page crashes with the following error:
Desired behavior
The "orphaned" resources continue to be displayed, but contain a warning about their "parent" environment having been deleted.
Workaround
No response
Additional context
No response
Would you like to support us?
AB#12040
The text was updated successfully, but these errors were encountered: