Bug 1299424 - "Copy this Condition to a new condition" option is not working.
Summary: "Copy this Condition to a new condition" option is not working.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: GA
: 5.6.0
Assignee: Martin Povolny
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks: 1300736
TreeView+ depends on / blocked
 
Reported: 2016-01-18 10:48 UTC by Prasad Mukhedkar
Modified: 2019-11-14 07:20 UTC (History)
7 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1300736 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:31:06 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Prasad Mukhedkar 2016-01-18 10:48:04 UTC
Description of problem:

Unable to copy a condition. When trying to copy a condition in a Policy, it is not copied to the new condition.

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

How reproducible:
always

Steps to Reproduce:
1. Go to control tab and expand the "conditions" accordion.
2. Select any condition and click  "Copy this Condition to a new condition"
button from configuration menu. 


Actual results:

Condition is not copied instead it just rename the existing one with
2the new name.

Expected results:
"Copy this Condition to a new condition " should copy the condition with
the new name.


Additional info:

Comment 3 Martin Povolny 2016-01-18 19:21:18 UTC
https://github.com/ManageIQ/manageiq/pull/6226

Comment 4 CFME Bot 2016-01-18 22:20:55 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3835b340d8b7085a05042c50c60b4227a5517942

commit 3835b340d8b7085a05042c50c60b4227a5517942
Author:     Martin Povolny <mpovolny>
AuthorDate: Mon Jan 18 20:20:05 2016 +0100
Commit:     Martin Povolny <mpovolny>
CommitDate: Mon Jan 18 20:20:05 2016 +0100

    Fix copying a Condition.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1299424

 app/controllers/miq_policy_controller/conditions.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Martin Povolny 2016-02-01 15:36:13 UTC
Fixed in master, 5.6 not yet forked --> POST

Comment 7 CFME Bot 2016-02-11 16:03:19 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=195dec4241ef851afee1e8292c65588ed74f133e

commit 195dec4241ef851afee1e8292c65588ed74f133e
Merge: 5c54e48 fdbdefc
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Feb 11 10:52:06 2016 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu Feb 11 10:52:06 2016 -0500

    Merge branch 'bz_1300736' into '5.5.z'
    
    Fix copying a Condition.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1299424
    (cherry picked from commit 3835b340d8b7085a05042c50c60b4227a5517942)
    
    to be merged for 5.5.3
    
    5.5.3 BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1300736
    
    See merge request !761

 app/controllers/miq_policy_controller/conditions.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 8 CFME Bot 2016-02-11 16:03:24 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=fdbdefc8f95408ac2b8933907b0a7a0bbb4bc0bd

commit fdbdefc8f95408ac2b8933907b0a7a0bbb4bc0bd
Author:     Martin Povolny <mpovolny>
AuthorDate: Mon Jan 18 20:20:05 2016 +0100
Commit:     Martin Povolny <mpovolny>
CommitDate: Thu Feb 11 09:51:22 2016 +0100

    Fix copying a Condition.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1299424
    (cherry picked from commit 3835b340d8b7085a05042c50c60b4227a5517942)

 app/controllers/miq_policy_controller/conditions.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 9 Niyaz Akhtar Ansari 2016-04-19 05:53:24 UTC
"Copy this Condition to a new condition" option is able to copy the condition with the new name
verified in 5.6.0.1-beta2.20160413141124_e25ac0e

Comment 11 errata-xmlrpc 2016-06-29 15:31:06 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://access.redhat.com/errata/RHBA-2016:1348


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