[Koha-bugs] [Bug 27160] Fatal error when ReservesMaxPickUpDelay is empty and item with hold is checked in

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 10 09:44:50 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27160

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|koha-bugs at lists.koha-commun |jonathan.druart at bugs.koha-c
                   |ity.org                     |ommunity.org

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
The error is:

Validation failed for type named Defined declared in package
Specio::Library::Builtins (/usr/share/perl5/Specio/Library/Builtins.pm) at line
44 in sub named (eval) with value undef                               

Trace begun at Specio::Exception->new line 57                                   
Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for
type named Defined declared in package Specio::Library::Builtins
(/usr/share/perl5/Specio/Library/Builtins.pm) at line 44 in sub na
med (eval) with value undef', 'type',
'Specio::Constraint::Simple=HASH(0x560960117338)', 'value', undef) called at
(eval 235) line 75                                                              
DateTime::Duration::_check_new_params('days', undef) called at
/usr/lib/x86_64-linux-gnu/perl5/5.32/DateTime/Duration.pm line 64               
DateTime::Duration::new('DateTime::Duration', 'days', undef) called at
/usr/lib/x86_64-linux-gnu/perl5/5.32/DateTime.pm line 1792                      
DateTime::_duration_object_from_args('DateTime=HASH(0x56096b1fe938)', 'days',
undef) called at /usr/lib/x86_64-linux-gnu/perl5/5.32/DateTime.pm line 1764
DateTime::add('DateTime=HASH(0x56096b1fe938)', 'days', undef) called at
/kohadevbox/koha/Koha/Hold.pm line 198                                          
Koha::Hold::set_waiting('Koha::Hold=HASH(0x56096b2c4b70)', '') called at
/kohadevbox/koha/C4/Reserves.pm line 1189                       
C4::Reserves::ModReserveAffect(36, 5, undef, 1, '') called at
/kohadevbox/koha/circ/returns.pl line 159                                       
eval {...} at /kohadevbox/koha/circ/returns.pl line 2                           
CGI::Compile::ROOT::kohadevbox_koha_circ_returns_2epl::__ANON__('CGI::Compile=HASH(0x56096894c380)',
'', '/kohadevbox/koha/circ/returns.pl', '/kohadevbox/koha/circ',
'ARRAY(0x56096aaa47f8)') called at /usr/share
/perl5/CGI/Compile.pm line 151                                                  
CGI::Compile::ROOT::kohadevbox_koha_circ_returns_2epl::returns_2epl at
/usr/share/perl5/CGI/Emulate/PSGI.pm line 30

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


More information about the Koha-bugs mailing list