Bug 30525: Items batch modification broken
authorOwen Leonard <oleonard@myacpl.org>
Wed, 13 Apr 2022 14:07:53 +0000 (14:07 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Apr 2022 18:29:43 +0000 (14:29 -0400)
commit01d5cfcf83457a3996e2e6eefc1055b5fac50412
treea682f8ffcb2b7960509cf91c5cf79da11d6395e9
parentcbbf847fdeefe887fe12e71d61b2acbfb361a5a7
Bug 30525: Items batch modification broken

This patch modifies instances in the code which try to get cookies
using:

my %cookies = parse CGI::Cookie($cookie);

In some cases the relevant lines can be removed because they are unused.
In others it can be replaced with:

my %cookies = CGI::Cookie->fetch();

To test, apply the patch and restart_all. Test the following pages to
confirm they load without errors:

- Circulation -> Offline circulation file upload
- Circulation -> Offline circulation -> Add to queue

- Tools -> Batch item modification
- Tools -> Stage MARC for import
- Tools -> Staged MARC management
- Tools -> Batch patron modification
- Tools -> Upload local cover image

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
offline_circ/enqueue_koc.pl
offline_circ/process_koc.pl
tools/batchMod.pl
tools/manage-marc-import.pl
tools/modborrowers.pl
tools/stage-marc-import.pl
tools/upload-cover-image.pl