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:
https://github.com/ManageIQ/manageiq/pull/6226
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(-)
https://github.com/ManageIQ/manageiq/pull/6191
Fixed in master, 5.6 not yet forked --> POST
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(-)
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(-)
"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
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