Bug 1214204

Summary: Unable to reconfigure multiple VMs as wrong VMs get selected when navigated from provider summary page
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: dclarizi, hkataria, jhardy, mpovolny, nachandr, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:59:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
snapshot none

Description Aziza Karol 2015-04-22 08:52:09 UTC
Created attachment 1017305 [details]
snapshot

Description of problem:


Version-Release number of selected component (if applicable):
5.3.4.2.20150415125246_f5d5c91 

How reproducible:
100%

Steps to Reproduce:
1.Navigate to infrastructure->provider->provider summary page
2.click on VM's in relationship
3.select multiple Vm's and from configuration click on "Reconfigure selected items"

Actual results:
wrong Vm's get selected.i had selected 3, only one non selected one is displayed.
see attached screenshot


Expected results:
should be able to reconfigure multiple vms.

Additional info:

Comment 3 Martin Hradil 2015-05-05 14:21:43 UTC
Not exactly similar but close :) this one ignores the check_* items when an id is provided as well.

https://github.com/ManageIQ/manageiq/pull/2841

Comment 4 CFME Bot 2015-05-05 20:50:50 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/bcca03afbd47ec34a69f453716a7f639dde0f502

commit bcca03afbd47ec34a69f453716a7f639dde0f502
Author:     Martin Hradil <mhradil>
AuthorDate: Tue May 5 14:15:55 2015 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Tue May 5 14:15:55 2015 +0000

    CiProcessing#reconfigurevms - vm_reconfigure should call find_checked_items even when :id param present
    
    Selecting multiple vms under provider summary and pressing reconfigure would not call find_checked_items to find the selected VMs but would use params[:id] instead, but that's the provider id, not vm
    
    Assuming the !params[:id] check is still useful somewhere, so special-casing it.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1214204

 vmdb/app/controllers/application_controller/ci_processing.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Nandini Chandra 2015-05-12 21:32:40 UTC
Verified in 5.4.0.0.26

Comment 8 errata-xmlrpc 2015-06-16 12:59:27 UTC
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://rhn.redhat.com/errata/RHBA-2015-1100.html