Created attachment 1541973 [details] no cancel button Description of problem: No cancel button is present on the policy simulation page of a infrastructure VM. Similar to BZ 1659088 but for infra VMs. Version-Release number of selected component (if applicable): 5.9.9.1 How reproducible: 100% Steps to Reproduce: 1. Add an infra provider with 1 vm 2. Click the check box of the VM 3. Click Policy -> Policy Simulation Actual results: There is no cancel button when the page loads Expected results: There should be a cancel button there. Additional info: Seems to be similar to BZ 1659088.
I check this again today, on 5.9.9.1 and 5.9.9.0 and am no longer seeing this issue. For now I am closing this as WORKSFORME, I will reopen if the issue manifests itself again. Note that BZ 1670456 still applies.
John, the bug is still present, in the latest 5.9 and also in 5.10 so I am reopening the BZ. Be careful about the steps to reproduce, I better add the exact steps: 1. Go to Compute > Infrastructure > Providers 2. Choose some provider, click on it to display its dashboard or summary page 3. Click on VMs in the page from step 2 4. Check the checkbox(es) of some VM(s) 5. In the toolbar, choose Policy > Policy Simulation => no Cancel button! Important note: If you access VMs directly thru Compute > Infra > VMs and follow the steps 2 - 5, the bug will not occur.
Note that this bug is related not just to VMs, but any items (for example Templates) displayed as a nested list thru some Relationships table.
https://github.com/ManageIQ/manageiq-ui-classic/pull/5341
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/086bb64d69f5a9e36851fff0705691264a748793 commit 086bb64d69f5a9e36851fff0705691264a748793 Author: Hilda Stastna <hstastna> AuthorDate: Thu Mar 14 10:19:10 2019 -0400 Commit: Hilda Stastna <hstastna> CommitDate: Thu Mar 14 10:19:10 2019 -0400 Add Cancel button to policy simulation page Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1659088 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1686617 Add the button to the page for policy simulation of vms/instances which were displayed as a nested list. app/controllers/application_controller/policy_support.rb | 6 + app/views/layouts/_policy_sim.html.haml | 12 + app/views/layouts/_x_edit_buttons.html.haml | 2 +- config/routes.rb | 1 + 4 files changed, 20 insertions(+), 1 deletion(-)
Verified in 5.11.0.1.20190424210327_58b5dbd Steps of verification: 1. Go to Compute > Infrastructure > Providers 2. Choose some provider, click on it to display its dashboard or summary page 3. Click on VMs in the page from step 2 4. Check the checkbox(es) of some VM(s) 5. In the toolbar, choose Policy > Policy Simulation 6. Verified that the cancel button is present and that it works when you click it
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:4199