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

--- Comment #1 from Marion Durand <[email protected]> ---
The only case where I got some log is when the TT error is in a notice
generated by a cronjob (advances_notices.pl, PREDUEDGST), I got the follwing
error by an email report of the cron :


```
ERROR PROCESSING TEMPLATE: undef error - The method Koha::Item->date_due is not
covered by tests!

Trace begun at /home/koha/src/Koha/Object.pm line 971
Koha::Object::AUTOLOAD('Koha::Item=HASH(0x652e9719dd30)') called at input text
line 20
eval {...} at input text line 20
eval {...} at input text line 28
eval {...} at input text line 7
Template::Document::__ANON__('Template::Context=HASH(0x652e970c9310)') called
at /usr/lib/x86_64-linux-gnu/perl5/5.30/Template/Document.pm line 163
eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.30/Template/Document.pm line
161
Template::Document::process('Template::Document=HASH(0x652e9715bdb8)',
'Template::Context=HASH(0x652e970c9310)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.30/Template/Context.pm line 351
eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.30/Template/Context.pm line 321
Template::Context::process('Template::Context=HASH(0x652e970c9310)',
'Template::Document=HASH(0x652e9715bdb8)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.30/Template/Service.pm line 94
eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.30/Template/Service.pm line 91
Template::Service::process('Template::Service=HASH(0x652e96fb4180)',
'SCALAR(0x652e93d6eda0)', 'HASH(0x652e97002668)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.30/Template.pm line 66
Template::process('Template=HASH(0x652e97002278)', 'SCALAR(0x652e93d6eda0)',
'HASH(0x652e97002668)', 'SCALAR(0x652e93d6f670)') called at
/home/koha/src/C4/Letters.pm line 1721
C4::Letters::try {...}  at /usr/share/perl5/Try/Tiny.pm line 100
eval {...} at /usr/share/perl5/Try/Tiny.pm line 93
Try::Tiny::try('CODE(0x652e970c9718)',
'Try::Tiny::Finally=REF(0x652e8d0621b0)') called at
/home/koha/src/C4/Letters.pm line 1725
C4::Letters::_process_tt('HASH(0x652e97002ed8)') called at
/home/koha/src/C4/Letters.pm line 639
C4::Letters::GetPreparedLetter('module', 'circulation', 'letter_code',
'PREDUEDGST', 'branchcode', 'SEG', 'lang', 'default', 'substitute',
'HASH(0x652e96fcc128)', 'tables', 'HASH(0x652e93dacb70)', 'loops',
'HASH(0x652e9708a240)', 'message_transport_type', 'email') called at
/home/koha/src/misc/cronjobs/advance_notices.pl line 503
main::parse_letter('HASH(0x652e96fc85c8)') called at
/home/koha/src/misc/cronjobs/advance_notices.pl line 610
main::send_digests('HASH(0x652e96f80ab8)') called at
/home/koha/src/misc/cronjobs/advance_notices.pl line 449
 at /home/koha/src/misc/cronjobs/advance_notices.pl line 503.
```

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to