-
Notifications
You must be signed in to change notification settings - Fork 356
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
VM Transform not working from a provider page #2757
VM Transform not working from a provider page #2757
Conversation
/cc @martinpovolny |
@miq-bot assign @martinpovolny |
@@ -2,6 +2,7 @@ class VmInfraController < ApplicationController | |||
include VmCommon # common methods for vm controllers | |||
include VmRemote # methods for VM remote access | |||
include VmShowMixin | |||
include Mixins::Actions::VmActions::Transform |
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.
@lgalis , is this line needed? I'd say that the mixing is already included in ApplicationController throught CiProcessing and this controller inherits from Application controller.
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.
Looks good. One small thing I commented inline.
@miq-bot add_label bug, gaprindashvili/yes |
@martinpovolny - addressed your comment. There is one more thing that would need to be addressed - when the dialog is launched from the provider vm list page - the return from the dialog does not include the display paramter. I will include that in a follow up PR as it is a general dialog runner issue, not vm_transform specifc. |
f05549e
to
5745233
Compare
Seems the new specs are failing. |
5745233
to
23e8e87
Compare
@martinpovolny - I pushed a change to the spec by mistake - reverted that |
Checked commits lgalis/manageiq-ui-classic@41e491f~...23e8e87 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
…ider VM Transform not working from a provider page (cherry picked from commit 80fb23f) https://bugzilla.redhat.com/show_bug.cgi?id=1515303
Gaprindashvili backport details:
|
Move the vm_transform action to a mixin
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1514032
Steps for Testing/QA
Steps to Reproduce:
With this PR, the dialog opens from ems_infra: