https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42560 Bug ID: 42560 Summary: Add support for [% items.content %] Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org If you're updating <<>> to [% %], it's easy to accidentally change <<items.content>> to [% items.content %] However, if you do that, you'll break your notices, because... "content" isn't a valid column in the items table: ERROR PROCESSING TEMPLATE: undef error - The method Koha::Items->content is not covered by tests! Trace begun at /usr/share/koha/lib/Koha/Objects.pm line 581 Koha::Objects::AUTOLOAD('Koha::Items=HASH(0x5e093f483010)') called at input text line 8 eval {...} at input text line 8 eval {...} at input text line 7 Template::Document::__ANON__('Template::Context=HASH(0x5e093f3d4a68)') called at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template/Document.pm line 163 eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template/Document.pm line 161 Template::Document::process('Template::Document=HASH(0x5e093f7b2060)', 'Template::Context=HASH(0x5e093f3d4a68)') called at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template/Context.pm line 351 eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template/Context.pm line 321 Template::Context::process('Template::Context=HASH(0x5e093f3d4a68)', 'Template::Document=HASH(0x5e093f7b2060)') called at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template/Service.pm line 94 eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template/Service.pm line 91 Template::Service::process('Template::Service=HASH(0x5e093f3a8308)', 'SCALAR(0x5e093ec6ad90)', 'HASH(0x5e093f47fe98)') called at /usr/lib/x86_64-linux-gnu/perl5/5.38/Template.pm line 66 Template::process('Template=HASH(0x5e093f3a8350)', 'SCALAR(0x5e093ec6ad90)', 'HASH(0x5e093f47fe98)', 'SCALAR(0x5e093ec6b618)') called at /usr/share/koha/lib/C4/Letters.pm line 1764 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(0x5e093f508378)', 'Try::Tiny::Finally=REF(0x5e0935931a68)') called at /usr/share/koha/lib/C4/Letters.pm line 1768 C4::Letters::_process_tt('HASH(0x5e093f450930)') called at /usr/share/koha/lib/C4/Letters.pm line 651 C4::Letters::GetPreparedLetter('module', 'circulation', 'letter_code', 'PREDUEDGST', 'branchcode', 'BRANCH', 'lang', 'default', 'substitute', 'HASH(0x5e093f480198)', 'tables', 'HASH(0x5e093eca56b8)', 'loops', 'HASH(0x5e093f3d6bc0)', 'message_transport_type', 'email') called at /usr/share/koha/bin/cronjobs/advance_notices.pl line 505 main::parse_letter('HASH(0x5e093f480af8)') called at /usr/share/koha/bin/cronjobs/advance_notices.pl line 612 main::send_digests('HASH(0x5e093f46f920)') called at /usr/share/koha/bin/cronjobs/advance_notices.pl line 451 at /usr/share/koha/bin/cronjobs/advance_notices.pl line 505. -- You are receiving this mail because: You are watching all bug changes.