[Koha-bugs] [Bug 4502] Perl error in acq budget planning

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 7 01:57:36 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4502

--- Comment #12 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 37533
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37533&action=edit
Bug 4502 - An attempt to make things more sensible.

The reason the budget_period_id was not defined was because in
two cases it was not passed! This patch adds those missing
parameters. And as a result, cuts out the attempt to default the
authcat to '' unless the budget_period_id is defined.

Additionally, the start and end months don't seem to be passed,
so rather than have it blow up, checking them forces the else
case logic.

budget_period_id is the budget id. If you have two budgets,
you can craft a URL to work with budget_period_id matching
those two ids. Anything else should trigger the new error which
was modified to reflect more of what the problem is.

Follow the test plan in comment #6. Feel free to also to attempt
crafting URLs and triggering errors.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list