Bug 2008

Summary: Daily reconciliation report broken
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Paul Poulain <paul.poulain>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15230
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Chris Cormack 2010-05-21 00:37:09 UTC


---- Reported by oleonard@myacpl.org 2008-04-09 07:57:49 ----

Clicking the link for the daily reconciliation report results in this error:

The following fatal error has occurred:
Undefined subroutine &main::getcharges called at /intranet/cgi-bin/circ/stats.pl line 100.

If you add "use C4::Accounts;" to stats.pl you get this error:

Undefined subroutine &main::Getpaidbranch called at /intranet/cgi-bin/circ/stats.pl line 147.

From IRC:
<gmcharlt>	that sub was in C4::Stats in 2.2.9
<gmcharlt>	see http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commitdiff;h=43ad7fb4dfc1d7f57bac158049e51d4006ef7140 for the commit where it went away



---- Additional Comments From oleonard@myacpl.org 2008-04-22 08:25:56 ----

More details: /cgi-bin/koha/circ/stats.pl?time=yesterday does not generate an error for me now. It says "No statistics to report." /cgi-bin/koha/circ/stats.pl?time=today generates the same error as before.



---- Additional Comments From jmf@liblime.com 2008-07-02 11:40:21 ----

I've never seen this report work in any version of Koha. I suggest we delete it from 3.0.



---- Additional Comments From jmf@liblime.com 2008-07-08 18:04:03 ----

My solution for 3.0 is to comment this out, effectively it's deleted, without actually deleting it. If someone knows what it's for and has a generalized version that works for all Koha users,  please contribute it, because I've never seen it working in any version of Koha.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:37 UTC  ---

This bug was previously known as _bug_ 2008 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2008

Actual time not defined. Setting to 0.0