Fundingbar crashes on projects with pledged money without budget
Bug #383071 reported by
Daniel Karlsson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Akvo RSR |
Fix Released
|
Undecided
|
Daniel Karlsson |
Bug Description
On rare occasions a project might end up with pledged money without a budget. This causes every instance of the fundingbar to crash in the template layer. The reason is that we are using division to get a percentage and are dividing with zero on these occasions. Possible solution is to just show the fundingbar when there is a budget.
03-Sept-2009, bethwaaa: http://
Funding is 2 euro from org, no budget; Raised shows 2, Still Needed shows -2. A case for us to check w/ decimalisation.
description: | updated |
tags: | added: funding |
To post a comment you must log in.
Template layer problem.