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

Reorganize the logic in lookup_attrs for AutomateSimulationTree #723

Merged
merged 2 commits into from Mar 20, 2017

Conversation

skateman
Copy link
Member

@skateman skateman commented Mar 17, 2017

The else block in lookup_attrs was handling some non-MiqAeService elements that are covered by MiqAeClassHelper#ae_field_fonticon, so I reorganized the code structure a bit. As we might not have the full list of all the possible non-MiqAeService elements, the ae_field_fonticon throws a descriptive error if an icon is missing.

The first commit fixes #714, but throws an exception as there is no fonticon defined for Element. The second commit adds a the missing icon that has been created by @epwinchell in #731.

@epwinchell
Copy link
Contributor

@skateman Let's merge this first: #731

@skateman skateman changed the title Reorganize the logic in lookup_attrs for AutomateSimulationTree [WIP] Reorganize the logic in lookup_attrs for AutomateSimulationTree Mar 17, 2017
@skateman skateman force-pushed the fix-automate-simulation-tree branch from 066c97f to 6825f34 Compare March 17, 2017 16:34
@miq-bot miq-bot added the wip label Mar 17, 2017
@mkanoor
Copy link
Contributor

mkanoor commented Mar 17, 2017

👍
screen shot 2017-03-17 at 12 39 29 pm

@skateman skateman force-pushed the fix-automate-simulation-tree branch from 6825f34 to e46da6f Compare March 17, 2017 16:41
@skateman skateman changed the title [WIP] Reorganize the logic in lookup_attrs for AutomateSimulationTree Reorganize the logic in lookup_attrs for AutomateSimulationTree Mar 17, 2017
@skateman
Copy link
Member Author

@mkanoor thanks, rebased and ready to merge!

@miq-bot
Copy link
Member

miq-bot commented Mar 17, 2017

Checked commits skateman/manageiq-ui-classic@f7d115a~...e46da6f with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks good. 🍪

@miq-bot miq-bot removed the wip label Mar 17, 2017
@skateman
Copy link
Member Author

@miq-bot assign @mzazrivec

@miq-bot miq-bot assigned mzazrivec and unassigned epwinchell Mar 20, 2017
@mzazrivec mzazrivec added this to the Sprint 57 Ending Mar 27, 2017 milestone Mar 20, 2017
@mzazrivec mzazrivec merged commit 9ddef18 into ManageIQ:master Mar 20, 2017
@skateman skateman deleted the fix-automate-simulation-tree branch March 20, 2017 15:03
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.

Array type missing in Automation Simulation Result Screen
5 participants