Bug 14131

Summary: Blank products added.
Product: Red Hat Web Site Reporter: Garth Webb <nobody+garth>
Component: StoreAssignee: Garth Webb <nobody+garth>
Status: CLOSED CURRENTRELEASE QA Contact: Paul Lindner <plindner>
Severity: medium Docs Contact:
Priority: medium    
Version: current   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.redhat.com/apps/commerce
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-17 16:49:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Garth Webb 2000-07-17 16:48:56 UTC
If one attempts to add an invalid item_code to the cart, it will add a
blank product;  one without any price, name or weight.  This usually
happens in developement when production tests a product page before the
product has been entered into the database.

Comment 1 Garth Webb 2000-07-17 17:14:20 UTC
This problem has been fixed by making sure RH::Product::new returns 'undef' when
given an invalid item_code.