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

[BUG] PDU widget stops displaying properly if room is deleted #2178

Closed
lunkwill42 opened this issue Aug 27, 2020 · 0 comments
Closed

[BUG] PDU widget stops displaying properly if room is deleted #2178

lunkwill42 opened this issue Aug 27, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@lunkwill42
Copy link
Member

Describe the bug
A PDU widget that shows PDUs in a specific room will only display a Cannot load widget error if the room is deleted, which is not a very helpful hint about what has gone wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Go your dashboard and add a PDU widget.
  2. Assuming you have PDUs in your NAV database, configure the widget to display the room with this/these PDUs in it.
  3. Delete that room in SeedDB
  4. Go back to dashboard
  5. See error

Expected behavior
A more helpful error message, explaining that the configured room has disappeared, and that a new one should be configured.

Environment (please complete the following information):

  • NAV version installed: 5.0.5
@lunkwill42 lunkwill42 added the bug label Aug 27, 2020
@lunkwill42 lunkwill42 added this to the 5.0.6 milestone Aug 27, 2020
@lunkwill42 lunkwill42 self-assigned this Aug 27, 2020
@lunkwill42 lunkwill42 changed the title [BUG] PDU widget stop displaying properly if room is deleted [BUG] PDU widget stops displaying properly if room is deleted Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant