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:
parent
750f7170b6
commit
cf32a3c9b7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue