From ce4db5882e789d0ee247c56ed3ee353be873310d Mon Sep 17 00:00:00 2001 From: Nicolas Hunstein Date: Fri, 4 Apr 2025 08:49:12 +0000 Subject: [PATCH] Bug 39017: update "Does not exists" changes string "Does not exists" to "Does not exist" to test: - look for "Does not exists" - check there are some entries "Does not exists" - apply patch - verify there are no entries "Does not exists". Instead there are entries "Does not exist" --- Koha/SimpleMARC.pm | 2 +- admin/auth_tag_structure.pl | 2 +- admin/marctagstructure.pl | 2 +- misc/release_notes/release_notes_193.txt | 2 +- misc/release_notes/release_notes_3_14_0.txt | 2 +- patroncards/create-pdf.pl | 2 +- serials/create-numberpattern.pl | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Koha/SimpleMARC.pm b/Koha/SimpleMARC.pm index 425fbcd75b..334db5ad43 100644 --- a/Koha/SimpleMARC.pm +++ b/Koha/SimpleMARC.pm @@ -236,7 +236,7 @@ sub _update_field { $field->update( $values[$i++] ); } } else { - ## Field does not exists, create it + ## Field does not exist, create it if ( $fieldName < 10 ) { foreach my $value ( @values ) { my $field = MARC::Field->new( $fieldName, $value ); diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index b4d8b58fa0..4dafed057e 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -59,7 +59,7 @@ if (!$op or $op eq 'cud-authtype_create_confirm') { my ($authtypeexist) = $sth->fetchrow; if ($authtypeexist) { } else { - # if authtype does not exists, then OP must be changed to "create authtype" if we are not on the way to create it + # if authtype does not exist, then OP must be changed to "create authtype" if we are not on the way to create it # (op = authtyp_create_confirm) if ($op eq "cud-authtype_create_confirm") { duplicate_auth_framework($authtypecode, $existingauthtypecode); diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 06239bfda7..9ea1404516 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -60,7 +60,7 @@ my $sth=$dbh->prepare("select count(*) from marc_tag_structure where frameworkco $sth->execute($frameworkcode); my ($frameworkexist) = $sth->fetchrow; unless ($frameworkexist) { - # if frameworkcode does not exists, then OP must be changed to "create framework" if we are not on the way to create it + # if frameworkcode does not exist, then OP must be changed to "create framework" if we are not on the way to create it # (op = itemtyp_create_confirm) if ($op eq "cud-framework_create_confirm") { duplicate_framework($frameworkcode, $existingframeworkcode); diff --git a/misc/release_notes/release_notes_193.txt b/misc/release_notes/release_notes_193.txt index 6dfb58dba5..03f28df602 100644 --- a/misc/release_notes/release_notes_193.txt +++ b/misc/release_notes/release_notes_193.txt @@ -44,7 +44,7 @@ It loads an iso2709 file into the ACTIVE Database. My 1st tests on sample files Feel free to try it. How it works ? enter ./bulkmarcimport in a console, and look. -KNOWN LIMIT : If the barcode of an item does not exists, the scripts report an SQL error, and continue. BUT the corresponding item is not in the non-marc db, so it can't be requested or loaned. +KNOWN LIMIT : If the barcode of an item does not exist, the scripts report an SQL error, and continue. BUT the corresponding item is not in the non-marc db, so it can't be requested or loaned. sample file : --------- diff --git a/misc/release_notes/release_notes_3_14_0.txt b/misc/release_notes/release_notes_3_14_0.txt index 2f98503bc9..aae8df5be2 100644 --- a/misc/release_notes/release_notes_3_14_0.txt +++ b/misc/release_notes/release_notes_3_14_0.txt @@ -413,7 +413,7 @@ I18N/L10N Installation and upgrade (web-based installer) ---------- 10969 blocker Fix sample itemtypes for translated installers - 10443 major Table borrower_files does not exists in kohastructure.sql file + 10443 major Table borrower_files does not exist in kohastructure.sql file 10965 major Sample itemtypes can't load on new install MARC Authority data support diff --git a/patroncards/create-pdf.pl b/patroncards/create-pdf.pl index e994ddbbb2..cf02c570cf 100755 --- a/patroncards/create-pdf.pl +++ b/patroncards/create-pdf.pl @@ -180,7 +180,7 @@ foreach my $item (@{$items}) { $image_data = $dbh->selectrow_hashref("SELECT imagefile FROM creator_images WHERE image_name = \'$images->{$card_image}->{'data_source'}->[0]->{'image_name'}\'"); warn sprintf('Database returned the following error: %s.', $error) if $error; unless($image_data){ - warn sprintf('Image does not exists in db table %s.', $images->{$card_image}->{'data_source'}->[0]->{'image_name'}); + warn sprintf('Image does not exist in db table %s.', $images->{$card_image}->{'data_source'}->[0]->{'image_name'}); } } else { diff --git a/serials/create-numberpattern.pl b/serials/create-numberpattern.pl index a28ef0d415..45a75b6e5f 100755 --- a/serials/create-numberpattern.pl +++ b/serials/create-numberpattern.pl @@ -54,7 +54,7 @@ my $sth = $dbh->prepare($query); my $rv = $sth->execute($numberpattern->{'label'}); my $numberpatternid; if($rv == 0) { - # Pattern does not exists + # Pattern does not exist $numberpatternid = AddSubscriptionNumberpattern($numberpattern); } else { ($numberpatternid) = $sth->fetchrow_array; -- 2.39.5