[Koha-bugs] [Bug 35714] Clicking Print slips when no letter template selected causes error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 16:42:47 CET 2024


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

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Laura Escamilla from comment #2)
> Hi! 
> 
> Thank you for working on a patch. I've run into a few things when testing it
> out. 
> 
> 1. I set up test process 1 that does not include a letter template. After
> applying the patch I am still seeing the option to "Print slip" at the top
> of the table. When I click on that option I still see the "Error trace
> No letter_code at /kohadevbox/koha/preservation/print_slip.pl line 45.
>  at /usr/lib/aarch64-linux-gnu/perl-base/Carp.pm line 289" error. 

Can you confirm that you have run `yarn js:build` after you applied the patch?

> 2. Next I created a process with a letter code. I changed my item's process
> to the new one (test process 2). When I submit my change it breaks the
> item_list table. Essentially it removes the columns and rows and only shows
> a number, the pencil for editing, the trash can for deleting and the printer
> symbol for printing the slips. All symbols work and I can print the slip --
> but the table needs to be adjusted.

Yes, if at least one item has a process different that the default (the one
defined at the train level), then the items are not displayed in a table.
This is because we cannot display several items from different process (and so
different attributes/columns) in the same table.

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


More information about the Koha-bugs mailing list