Bug 1024585

Summary: Original make selection is invalidated when re-select the Entry type
Product: [Retired] Red Hat Hardware Certification Program Reporter: Huan Zhang <hzhang>
Component: Hardware CatalogAssignee: Feng Wang <fwang>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.2CC: fwang, hwcert-catalog, hzhang, junwang, rlandry, tfu, wshen
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: 2013-10-31 06:15:29 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:
Bug Depends On:    
Bug Blocks: 1024158    

Description Huan Zhang 2013-10-30 02:34:26 UTC
When vendor create hardware entry and hardware details, there is a bug when selecting make.

How to reproduce:
1) login in as vendor user(test-user)
2) keep entry type with "Create Both"
3) select and input required fields(included a make) in HARDWARE DETAILS section
4) change the "entry type" to "Hardware Specification"
5) input a "Model" as it disappears
6) click CONTINUE button
7) will get an alert "Please select a make" even it already has a make.

Comment 1 Huan Zhang 2013-10-30 02:41:56 UTC
@fwang,

Please have a look at this.

Comment 2 Feng Wang 2013-10-30 06:53:36 UTC
please verify it.

Comment 3 Wei Shen 2013-10-30 07:32:14 UTC
This will not alert now, but the make is not selected and not sent to cgi

Comment 4 Huan Zhang 2013-10-30 08:26:50 UTC
I got the software error this time(using Chrome).

Software error:

Undef to trick_taint at Bugzilla/Util.pm line 62
	Bugzilla::Util::trick_taint('undef') called at Hwcert/HardwareEntry.pm line 41
	Hwcert::HardwareEntry::dupVMMCheck('3com', 'undef', 'sdf') called at /var/www/html/hwcert/post.cgi line 860
For help, please send mail to the webmaster (sysadmin-engops), giving this error message and the time and date of the error.

I suspect that the value of make is not passing to backend.