Bug 818159

Summary: Error when promoting changeset with a package without its product being promoted first
Product: [Retired] Katello Reporter: Petr Chalupa <pchalupa>
Component: Webservice APIAssignee: Petr Chalupa <pchalupa>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.XCC: tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:09:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
reproduces the bug none

Description Petr Chalupa 2012-05-02 11:03:14 UTC
Description of problem:
model ChangesetPackage raises undefined method `errand_id'  when promoting changeset with a package without its product being promoted first

How reproducible:
always

Steps to Reproduce:
run attachment reproduce.sh  

Actual results:
error: undefined method `errand_id' for #<ChangesetPackage:0x7f71503ca5f0>

Expected results:
warning: Repository of the package '2cf842df-20c8-48bb-ab50-cf4a1bf78161' has not been promoted into the target environment!

Comment 1 Petr Chalupa 2012-05-02 11:04:22 UTC
Created attachment 581580 [details]
reproduces the bug

Comment 2 Petr Chalupa 2012-05-03 11:26:40 UTC
fixed in e17311fa66895787c9ba34bcf3dcfb1bebe1ab96

Comment 3 Bryan Kearney 2012-07-17 13:09:46 UTC
Moving all community bugs with fixes to closed.