Hide Forgot
Version-Release number of selected component (if applicable): katello-0.1.300-1 How reproducible: Always Steps to Reproduce (see attached script): 1.create org, env, provider, product, repo 2.create template 3.add only repo to the template 4.promote template Actual results: Repo is being promoted (fails on another error - see https://bugzilla.redhat.com/show_bug.cgi?id=799036) Expected results: Refusing to promote template with repo of product, that is not already promoted.
Created attachment 566884 [details] Script for reproducing the error
taking...
Pushed to master: $ git log|grep 799052 -B4|grep commit commit bb1509fc450730f74f229adc4ab96b217f26885f commit 777d5b1974b1ad1c4a79c05c849d7ee29c986f7f The changes should land in katello-0.2.13 Unittest was added as well
Verified: ×Failed to promote: Cannot promote the changset 'changeset-1331760780096' because the repo 'mytestrepo-1331760763090' does not belong to any promoted product. katello-0.2.13-1.git.7.31eb4ce.el6
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. http://rhn.redhat.com/errata/RHEA-2012-0665.html