http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9738
Bug ID: 9738 Summary: Confirming a hold crashes on datetime duration error Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.r...@rijksmuseum.nl CC: gmcha...@gmail.com, kyle.m.h...@gmail.com The 'days' parameter (undef) to DateTime::Duration::new was an 'undef', which is not one of the allowed types: scalar at /usr/local/share/perl5/Params/Validate/PP.pm line 633 Params::Validate::PP::__ANON__('The \'days\' parameter (undef) to DateTime::Duration::new was...') called at /usr/local/share/perl5/Params/Validate/PP.pm line 477 Params::Validate::PP::_validate_one_param(undef, 'HASH(0x47a7ae8)', 'HASH(0x468ebe0)', 'The \'days\' parameter (undef)') called at /usr/local/share/perl5/Params/Validate/PP.pm line 336 Params::Validate::PP::validate('ARRAY(0x1607930)', 'HASH(0x47a7bf0)') called at /usr/local/share/perl5/DateTime/Duration.pm line 31 DateTime::Duration::new(undef, 'days', undef) called at /usr/local/share/perl5/DateTime.pm line 1641 DateTime::add('DateTime=HASH(0x4711608)', 'days', undef) called at /usr/share/koha/testclone/C4/Letters.pm line 609 C4::Letters::_parseletter('HASH(0x467a2e0)', 'reserves', 'HASH(0x4679c68)') called at /usr/share/koha/testclone/C4/Letters.pm line 551 C4::Letters::_substitute_tables('HASH(0x467a2e0)', 'HASH(0x13f3798)') called at /usr/share/koha/testclone/C4/Letters.pm line 499 C4::Letters::GetPreparedLetter('letter_code', 'HOLD_PRINT', 'tables', 'HASH(0x13f3798)', 'substitute', 'HASH(0x467a448)', 'branchcode', 'ZZ', 'module', ...) called at /usr/share/koha/testclone/C4/Reserves.pm line 1884 C4::Reserves::_koha_notify_reserve(154329, 1, 151000) called at /usr/share/koha/testclone/C4/Reserves.pm line 1265 C4::Reserves::ModReserveAffect(154329, 1, undef) called at /usr/share/koha/testclone/circ/returns.pl line 145 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/