https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35828
--- Comment #7 from Magnus Enger <[email protected]> --- Created attachment 210511 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210511&action=edit Bug 35828: Remove Template::Plugin::CGI usage Template Toolkit 3.100 no longer bundles Template::Plugin::CGI, which Koha does not list as a dependency. This breaks serials search and patron card management on newer systems (e.g. Ubuntu 26.04). The serials search referrer is now built from $query->query_string, which separates params with ';' instead of '&'. CGI.pm parses both. Test plan: 1) Before applying the patch, simulate a system without the plugin in KTD: sudo mv /usr/lib/x86_64-linux-gnu/perl5/5.40/Template/Plugin/CGI.pm /tmp/ restart_all 2) Visit both pages, notice the 500 errors: http://localhost:8081/cgi-bin/koha/serials/serials-search.pl http://localhost:8081/cgi-bin/koha/patroncards/manage.pl?card_element=layout 3) Apply patch, restart_all 4) Visit both pages again, they load fine 5) Create a subscription if you don't have one ('Serials' > 'New subscription') 6) Search subscriptions using 'Title' and 'Library', tick the result, click 'Edit selected serials' 7) Click 'Cancel', you're back on the same results with your filters 8) Repeat 6), fill in 'Public note', click 'Save' 9) You're back on the same results with your filters, and the note is saved (note the ';' separators in the address bar) 10) Restore the plugin: sudo mv /tmp/CGI.pm /usr/lib/x86_64-linux-gnu/perl5/5.40/Template/Plugin/CGI.pm restart_all Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Magnus Enger <[email protected]> Fixes the display of the mentioned pages when Template::Plugin::CGI is not in place. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
