[Koha-bugs] [Bug 13071] New: Currency page shows perl error under some circumstances

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 10 22:17:13 CEST 2014


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

            Bug ID: 13071
           Summary: Currency page shows perl error under some
                    circumstances
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

Opening the administration page for currencies and exchange rates, I am seeing
a strange error:

Template process failed: undef error - The 'day' parameter ("2013") to
DateTime::new did not pass the 'an integer which is a possible valid day of
month' callback
 at /usr/lib/perl5/DateTime.pm line 198.
    DateTime::new(undef, 'day', 2013, 'month', 9, 'year', 1930, 'time_zone',
'America/Argentina/Cordoba', ...) called at
/usr/share/perl5/DateTime/Format/DateParse.pm line 58
    DateTime::Format::DateParse::parse_datetime('DateTime::Format::DateParse',
'30/09/2013', 'America/Argentina/Cordoba') called at
/home/katrin/kohaclone/Koha/DateUtils.pm line 87
    Koha::DateUtils::dt_from_string('30/09/2013', 'iso') called at
/home/katrin/kohaclone/Koha/Template/Plugin/KohaDates.pm line 32
   
Koha::Template::Plugin::KohaDates::filter('Koha::Template::Plugin::KohaDates=HASH(0x7125070)',
'30/09/2013', 'ARRAY(0x777e340)', 'HASH(0x777eb50)') called at
/usr/lib/perl5/Template/Plugin/Filter.pm line 82
    Template::Plugin::Filter::__ANON__('30/09/2013') called at
/home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
line 205
    eval {...} called at
/home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
line 205
    eval {...} called at
/home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
line 7
    Template::Document::__ANON__('Template::Context=HASH(0x49f0b08)') called at
/usr/lib/perl5/Template/Document.pm line 163
    eval {...} called at /usr/lib/perl5/Template/Document.pm line 161
    Template::Document::process('Template::Document=HASH(0x711b5c0)',
'Template::Context=HASH(0x49f0b08)') called at
/usr/lib/perl5/Template/Context.pm line 347
    eval {...} called at /usr/lib/perl5/Template/Context.pm line 321
    Template::Context::process('Template::Context=HASH(0x49f0b08)',
'Template::Document=HASH(0x711b5c0)') called at
/usr/lib/perl5/Template/Service.pm line 94
    eval {...} called at /usr/lib/perl5/Template/Service.pm line 91
    Template::Service::process('Template::Service=HASH(0x496e1a8)',
'/home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/module...',
'HASH(0x6f938a0)') called at /usr/lib/perl5/Template.pm line 66
    Template::process('Template=HASH(0x496ddb8)',
'/home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/module...',
'HASH(0x6f938a0)', 'SCALAR(0x24e6780)') called at
/home/katrin/kohaclone/C4/Templates.pm line 131
    C4::Templates::output('C4::Templates=HASH(0x496def0)') called at
/home/katrin/kohaclone/admin/currency.pl line 85

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list