Closed Bug 860657 Opened 7 years ago Closed 7 years ago

'Illegal division by zero' on product dashboard when the product has zero bugs

Categories

(bugzilla.mozilla.org Graveyard :: Extensions: ProductDashboard, defect)

Production
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: dkl)

Details

Illegal division by zero
 at /data/www/bugzilla.mozilla.org/extensions/ProductDashboard/Extension.pm line 111
	Bugzilla::Extension::ProductDashboard::_page_dashboard(...) called at /data/www/bugzilla.mozilla.org/extensions/ProductDashboard/Extension.pm line 33
	Bugzilla::Extension::ProductDashboard::page_before_template(...) called at /data/www/bugzilla.mozilla.org/Bugzilla/Hook.pm line 33
	Bugzilla::Hook::process(...) called at /data/www/bugzilla.mozilla.org/page.cgi line 84
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Thanks. Fixed that as well as some whitespace removal.

Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.2             
modified extensions/ProductDashboard/Extension.pm
modified extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl
Committed revision 8733.

dkl
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Product: bugzilla.mozilla.org → bugzilla.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.