Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1299424 - "Copy this Condition to a new condition" option is not working.
"Copy this Condition to a new condition" option is not working.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.5.0
x86_64 Linux
high Severity high
: GA
: 5.6.0
Assigned To: Martin Povolny
Niyaz Akhtar Ansari
: ZStream
Depends On:
Blocks: 1300736
  Show dependency treegraph
 
Reported: 2016-01-18 05:48 EST by Prasad Mukhedkar
Modified: 2016-06-29 11:31 EDT (History)
7 users (show)

See Also:
Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1300736 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:31:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Prasad Mukhedkar 2016-01-18 05:48:04 EST
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 14:21:18 EST
https://github.com/ManageIQ/manageiq/pull/6226
Comment 4 CFME Bot 2016-01-18 17:20:55 EST
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3835b340d8b7085a05042c50c60b4227a5517942

commit 3835b340d8b7085a05042c50c60b4227a5517942
Author:     Martin Povolny <mpovolny@redhat.com>
AuthorDate: Mon Jan 18 20:20:05 2016 +0100
Commit:     Martin Povolny <mpovolny@redhat.com>
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 10:36:13 EST
Fixed in master, 5.6 not yet forked --> POST
Comment 7 CFME Bot 2016-02-11 11:03:19 EST
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@redhat.com>
AuthorDate: Thu Feb 11 10:52:06 2016 -0500
Commit:     Dan Clarizio <dclarizi@redhat.com>
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 11:03:24 EST
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@redhat.com>
AuthorDate: Mon Jan 18 20:20:05 2016 +0100
Commit:     Martin Povolny <mpovolny@redhat.com>
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 01:53:24 EDT
"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 11:31:06 EDT
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.