Bug 8189

Summary: checkout history link gives error
Product: Koha Reporter: Melia Meggs <melia>
Component: CirculationAssignee: Kyle M Hall <kyle.m.hall>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P5 - low CC: gmcharlt
Version: 3.8   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Melia Meggs 2012-06-04 23:21:14 UTC
If you search the catalog, then click on the title of an item, clicking the checkout history tab on the left side of the screen produces the following error message.

Software error:

The 'month' parameter ("0") to DateTime::new did not pass the 'an integer between 1 and 12' callback
 at /usr/lib/perl5/DateTime.pm line 194
        DateTime::new(undef, 'hour', 00, 'minute', 00, 'month', 0, 'second', 0, ...) called at /usr/share/perl5/DateTime/Format/DateParse.pm line 58
        DateTime::Format::DateParse::parse_datetime('DateTime::Format::DateParse', '0000-00-00 00:00:00', 'America/New_York') called at /home/koha/kohaclone/Koha/DateUtils.pm line 86
        Koha::DateUtils::dt_from_string('0000-00-00 00:00:00', 'sql') called at /home/koha/kohaclone/Koha/DateUtils.pm line 160
        Koha::DateUtils::format_sqldatetime('0000-00-00 00:00:00') called at /home/koha/kohaclone/catalogue/issuehistory.pl line 74
Comment 1 Kyle M Hall 2012-06-14 12:46:13 UTC
Melia, I cannot reproduce this bug in either the 3.8.x branch, or in master. This means either the bug has been resolved, or my server is not set up in such a way as to cause the bug to reveal itself. Can you provide some more details?