-
Notifications
You must be signed in to change notification settings - Fork 900
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
ExtManagementSystem - use supports_not :admin_ui; use supports_not #16532
Conversation
Displaying a toolbar button to open the admin ui tries to call the supports method, and when not there, falls back to the old availability code, which fails with missing `validate_admin_ui` method. This is because since ManageIQ/manageiq-providers-ovirt#133, `RedHat::InfraManager` supports :admin_ui, but the `supports_not` call was not added to the ancestor class. Adding, and taking the opportunity to use `supports_not` for all the `def supports_foo? ; false ; end` methods.
@miq-bot add_label bug, gaprindashvili/yes |
from gitter November 27, 2017 2:35 PM
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the tests seem to fail
|
Never mind, The problem happens when that method fails when calling another method - like |
Checked commits https://github.com/himdel/manageiq/compare/70d40a1c9a7a3d058d009a9a6d82a362ebce882c~...305829b97fb83c8999bed1864104c73b21aea55f with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@himdel thanks - should be fixed by ManageIQ/manageiq-providers-ovirt#156 |
While working on #16403 I've encountered some errors (don't remember the details, sorry) after adding |
Displaying a toolbar button to open the admin ui tries to call the supports method, and when not there, falls back to the old availability code, which fails with missing
validate_admin_ui
method.This is because since ManageIQ/manageiq-providers-ovirt#133,
RedHat::InfraManager
supports :admin_ui, but thesupports_not
call was not added to the ancestor class.Adding, and taking the opportunity to use
supports_not
for all thedef supports_foo? ; false ; end
methods.Cc @borod108 , @vojtechszocs , @martinpovolny