Bug 1342260 - Provision dialogs copies previously checked dialog and not selected dialog
Summary: Provision dialogs copies previously checked dialog and not selected dialog
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Jozef Zigmund
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:automate
Depends On:
Blocks: 1372773
TreeView+ depends on / blocked
 
Reported: 2016-06-02 19:22 UTC by Matouš Mojžíš
Modified: 2017-01-12 05:14 UTC (History)
5 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1372773 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:15:24 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
I tried to copy microsoft dialog, but I had checked before another four dialogs, where in alphanumerical sort was openstack first (196.07 KB, image/png)
2016-06-02 19:22 UTC, Matouš Mojžíš
no flags Details

Description Matouš Mojžíš 2016-06-02 19:22:49 UTC
Created attachment 1164158 [details]
I tried to copy microsoft dialog, but I had checked before another four dialogs, where in alphanumerical sort was openstack first

Description of problem:
When I check some dialogs and then select another dialog(by that I mean click on icon or text in tree view) and then try to copy it it copies first in alphanumerical number checked dialog.

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

How reproducible:
Always

Steps to Reproduce:
1. Automate -> Customization ->  Check checkboxes for at least one dialog
2. Select another dialog
3. Configuration -> Copy this dialog

Actual results:
Copies the first dialog in alphanumerical sort and not the selected dialog

Expected results:
Copies selected dialog

Additional info:
screenshot attached

Comment 3 CFME Bot 2016-07-11 16:06:53 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/7fb9da45aa7d234a3d3a3924d7046a037d72a010

commit 7fb9da45aa7d234a3d3a3924d7046a037d72a010
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Tue Jun 21 16:08:27 2016 +0200
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Fri Jul 1 17:17:48 2016 +0200

    Fix provision dialogs copying
    
    When user checked the provision dialog in the list and then selected other one
    in the tree and called the copy of the dialog from explorer screen,
    it copied wrong one (1st checked checkbox)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1342260

 app/controllers/miq_ae_customization_controller/old_dialogs.rb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comment 4 Satoe Imaishi 2016-09-02 15:24:33 UTC
The PR is 'darga/backported', adding cfme-5.6.z flag.

Comment 6 Matouš Mojžíš 2016-09-30 14:55:22 UTC
Verified in 5.7.0.3. Only selected dialog is copied.


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