Bug 42374: Remove buggy ISBN_RANGE_MESSAGE env variable value

This patch removes an ISBN_RANGE_MESSAGE env variable that is
accidentally set by Business::ISBN::Data.

Test plan:
- git checkout v25.11.03-2
- reset_all
- git checkout -b 42374 origin/main
- Apply the patch
- restart_all
- Go to staff interface (e.g. http://localhost:8081/)
- Log into web installer
- Click "Update your database"
- Note it works

- Repeat the process but instead of using the web installer
use updatedatabase.pl directly (say through koha-upgrade-schema)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit bf867d08c2)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
David Cook 2026-04-16 04:31:09 +00:00 committed by Jacob O'Mara
parent 750f7170b6
commit cf32a3c9b7
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ use Modern::Perl;
use feature 'say';
BEGIN {
#See BZ 42374 about bug in Business::ISBN::Data
delete $ENV{ISBN_RANGE_MESSAGE} if defined $ENV{ISBN_RANGE_MESSAGE};
}
# CPAN modules
use DBI;
use Getopt::Long;