Hide Forgot
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.
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.
Now fixed by not allowing to edit it if no spec URL