Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug that prevents resource groups from loading when there's a ghost resource #820

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

alexweininger
Copy link
Member

Fixes #819

This bug occurs when a deleted or nonexistent resource is returned by the Azure REST API by mistake. Previous behavior is that no resource groups were displayed, now all resources are displayed and an error is logged in the console.

The error looks like
2024-02-13 13:21:44.375 [error] Error creating grouping item for key: "RGNAME-rg" Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item

@alexweininger alexweininger requested a review from a team as a code owner February 13, 2024 18:26
Copy link
Contributor

@bwateratmsft bwateratmsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👻

@alexweininger alexweininger merged commit 12ec0ee into main Feb 13, 2024
3 checks passed
@alexweininger alexweininger deleted the alex/white-krill branch February 13, 2024 19:22
@microsoft microsoft locked and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when trying to expanding subscription
3 participants