Bug 1251314

Summary: product.component_count causing '"" isn't numeric in numeric' errors
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: WebServiceAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Rony Gong 🔥 <qgong>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: jmcdonal, mtahir, qgong
Target Milestone: 4.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-20 23:29:56 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:

Description Jeff Fearn 🐞 2015-08-07 00:32:11 UTC
Description of problem:
When running the stress test '"" isn't numeric in numeric' are being generated by product.component_count.

Version-Release number of selected component (if applicable):
Pg

How reproducible:
Easy

Steps to Reproduce:
1. run stress test
2. tail error_log

Actual results:
Argument "" isn't numeric in numeric gt (>) at template/en/custom/bug/edit.html.tmpl line 309.
Argument "" isn't numeric in numeric le (<=) at template/en/custom/bug/edit.html.tmpl line 314.


Expected results:
No such errors

Additional info:

Comment 1 Rony Gong 🔥 2015-08-17 05:54:59 UTC
Still could got below error in error_log after upgrade to 4.4.9039-1

238252 Argument "" isn't numeric in numeric gt (>) at extensions/RuleEngine/template/en/default/pages/ruleengine/edit.html.tmpl line 28.
238253 Argument "PXGSjmsz" isn't numeric in numeric eq (==) at /loader/0x7f9ca83f2160/Bugzilla/Extension/RuleEngine/Pages.pm line 123.
238254 Use of uninitialized value in string eq at /loader/0x7f9ca83f2160/Bugzilla/Extension/RuleEngine/Pages.pm line 203.
238256 Argument "PXGSjmsz" isn't numeric in numeric eq (==) at /loader/0x7f9ca83f2160/Bugzilla/Extension/RuleEngine/Pages.pm line 123.

Comment 2 Rony Gong 🔥 2015-08-17 05:57:24 UTC
Sorry, please ignore comment 1
Tested on 
QA environment(bzperfweb01.app.qa) with version(4.4.9039-1, DB: psql )
Result: Pass
Can't filter out that kind of error log after test.

Comment 3 Matt Tyson 🤬 2015-09-20 23:29:56 UTC
This change is now live. If there are any issues, do not reopen this bug.
Instead, you should create a new bug and reference this bug.