Bug 1206142 - Wrong VMs get selected when editing tags and comparing from VM geneology
Summary: Wrong VMs get selected when editing tags and comparing from VM geneology
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.4.0
Assignee: Martin Hradil
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-26 12:37 UTC by Aziza Karol
Modified: 2015-06-16 12:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:55:41 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
genealogy (74.54 KB, image/png)
2015-03-26 12:37 UTC, Aziza Karol
no flags Details
edit tags vm (89.89 KB, image/png)
2015-03-26 12:38 UTC, Aziza Karol
no flags Details
vm comparison (58.32 KB, image/png)
2015-03-26 12:39 UTC, Aziza Karol
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Aziza Karol 2015-03-26 12:37:20 UTC
Created attachment 1006787 [details]
genealogy

Description of problem:
Editing tags or comparing VMs displays different VMs and not the VMs which has been selected.

Version-Release number of selected component (if applicable):
5.4.0.0.14.20150325124454_9e339f3 

How reproducible:
100%

Steps to Reproduce:
1.Navigate to a VM Summary page and click on Genealogy
2.Either edit tags or do a compare selected VMs
3.

Actual results:
See attached screenshots have selected 2 vms, but it shows wrong Vms

Expected results:
Should select correct Vms for editing tags and comparing

Additional info:

Comment 1 Aziza Karol 2015-03-26 12:38:27 UTC
Created attachment 1006788 [details]
edit tags  vm

Comment 2 Aziza Karol 2015-03-26 12:39:08 UTC
Created attachment 1006789 [details]
vm comparison

Comment 6 CFME Bot 2015-04-22 20:05:49 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9609ecbc2cdff69a4590833769c3d22c256e4458

commit 9609ecbc2cdff69a4590833769c3d22c256e4458
Author:     Martin Hradil <mhradil>
AuthorDate: Wed Apr 8 19:58:24 2015 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Wed Apr 22 15:57:56 2015 +0000

    VmCommon#set_checked_items - should not try to remove a trailing | when it's not there
    
    The ids used to have a trailing |, removed in 4ecc3af8
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1206142

 vmdb/app/controllers/vm_common.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comment 7 Oleg Barenboim 2015-04-24 14:23:50 UTC
Can this be moved to POST or awaiting more fixes?

Comment 9 Nandini Chandra 2015-05-07 05:09:20 UTC
Verified in 5.4.0.0.25

Comment 11 errata-xmlrpc 2015-06-16 12:55:41 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


Note You need to log in before you can comment on or make changes to this bug.