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

Navigating to machine details has an error #3671

Closed
huwshimi opened this issue Mar 10, 2022 · 0 comments · Fixed by #3690
Closed

Navigating to machine details has an error #3671

huwshimi opened this issue Mar 10, 2022 · 0 comments · Fixed by #3690

Comments

@huwshimi
Copy link
Contributor

Describe the bug
There is an error when you try and navigate from the machine list to machine details:

TypeError: Cannot read properties of undefined (reading 'status')

maas-ui version
master

To Reproduce
Steps to reproduce the behavior:

  1. Visit the machine list
  2. Reload so that the data in redux is fresh.
  3. Click on a machine
  4. An error will be shown instead of the machine details

I suspect this is due to something expecting the machine details version of the machine before it gets loaded (I could be wrong).

huwshimi added a commit to huwshimi/maas-ui that referenced this issue Mar 18, 2022
Display a spinner when waiting for the machine details to load.

Fixes: canonical#3671.
@huwshimi huwshimi self-assigned this Mar 18, 2022
huwshimi added a commit that referenced this issue Mar 21, 2022
Display a spinner when waiting for the machine details to load.

Fixes: #3671.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant