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

Miq server zone description #17662

Merged
merged 2 commits into from
Jul 5, 2018
Merged

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Jul 3, 2018

  1. most ui objects have a description. MiqServer does not. The ui server list (used by alert profiles view) blows up when fetching a server without a name.

  2. MiqServer#zone_description is a typical virtual delegate. a virtual column that is delegated to another model

This is not a BZ bug, but it makes the screen blow up. so I've marked it as a bug

This is a virtual column delegated to a belongs_to class
Classic example of virtual_delegate
If the server name is nil, then code sometimes blows up
This defines the description on miq server so it acts like most
of our other models displayed in the ui
@miq-bot
Copy link
Member

miq-bot commented Jul 3, 2018

Checked commits kbrock/manageiq@421074d~...545e771 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@bdunne bdunne merged commit d9b0f6c into ManageIQ:master Jul 5, 2018
@bdunne bdunne added this to the Sprint 90 Ending Jul 16, 2018 milestone Jul 5, 2018
@bdunne bdunne self-assigned this Jul 5, 2018
@kbrock kbrock deleted the miq_server_zone_description branch July 9, 2018 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants