Bug 677210

Summary: Red Hat Bugzilla has suffered an internal error. Please save this page and send it to bugzilla-owner@redhat.com with details of what you were doing at the time this message appeared. # [bz-web1-test.devel.r.c] get a error page when I click "edit hardware
Product: [Retired] Red Hat Hardware Certification Program Reporter: QinXie <xiqin>
Component: Hardware Catalog WorkflowAssignee: Wei Shen <wshen>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.3CC: hwcert-catalog, junwang, 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: 2011-06-22 05:33:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 674733    

Description QinXie 2011-02-14 03:05:12 UTC
1. I used my self account to login: xiqin
2. created a no SPEC URL cert whose status is preproduction: https://bz-web1-test.devel.redhat.com/show_bug.cgi?id=667822
3. click "Edit Hardware" to make hardware for it;
4. added cpu and memory into feature list;
5. save change failed because no sepc URL can be selected; and I see a error page:
<snip>
 Bad argument param sent to Bugzilla::Extension::Hwcert::ModelName::new function. 
</snip>
<snip>
undef error - ModPerl::Util::exit: (120000) exit was called at /var/www/html/bugzilla/Bugzilla/Error.pm line 139
</snip>
6. go back to "https://bz-web1-test.devel.redhat.com/show_bug.cgi?id=667822", try to click the "edit hardware", see error page again. 

https://bugzilla.redhat.com/show_bug.cgi?id=677206 meet the same error. it can be duplicated with above steps.

Comment 1 Wei Shen 2011-02-14 03:36:04 UTC
This bug is caused by a UI mistake, if there is no spec URL provided,  there will be no model displayed in step 2, then "Edit Hardware" link should not display.

Comment 2 Wei Shen 2011-02-14 05:04:03 UTC
Now fixed by not allowing to edit it if no spec URL