View | Details | Raw Unified | Return to bug 39017
Collapse All | Expand All

(-)a/Koha/SimpleMARC.pm (-1 / +1 lines)
Lines 236-242 sub _update_field { Link Here
236
            $field->update( $values[$i++] );
236
            $field->update( $values[$i++] );
237
        }
237
        }
238
    } else {
238
    } else {
239
        ## Field does not exists, create it
239
        ## Field does not exist, create it
240
        if ( $fieldName < 10 ) {
240
        if ( $fieldName < 10 ) {
241
            foreach my $value ( @values ) {
241
            foreach my $value ( @values ) {
242
                my $field = MARC::Field->new( $fieldName, $value );
242
                my $field = MARC::Field->new( $fieldName, $value );
(-)a/admin/auth_tag_structure.pl (-1 / +1 lines)
Lines 59-65 if (!$op or $op eq 'cud-authtype_create_confirm') { Link Here
59
    my ($authtypeexist) = $sth->fetchrow;
59
    my ($authtypeexist) = $sth->fetchrow;
60
    if ($authtypeexist) {
60
    if ($authtypeexist) {
61
    } else {
61
    } else {
62
        # if authtype does not exists, then OP must be changed to "create authtype" if we are not on the way to create it
62
        # if authtype does not exist, then OP must be changed to "create authtype" if we are not on the way to create it
63
        # (op = authtyp_create_confirm)
63
        # (op = authtyp_create_confirm)
64
        if ($op eq "cud-authtype_create_confirm") {
64
        if ($op eq "cud-authtype_create_confirm") {
65
            duplicate_auth_framework($authtypecode, $existingauthtypecode);
65
            duplicate_auth_framework($authtypecode, $existingauthtypecode);
(-)a/admin/marctagstructure.pl (-1 / +1 lines)
Lines 60-66 my $sth=$dbh->prepare("select count(*) from marc_tag_structure where frameworkco Link Here
60
$sth->execute($frameworkcode);
60
$sth->execute($frameworkcode);
61
my ($frameworkexist) = $sth->fetchrow;
61
my ($frameworkexist) = $sth->fetchrow;
62
unless ($frameworkexist) {
62
unless ($frameworkexist) {
63
	# if frameworkcode does not exists, then OP must be changed to "create framework" if we are not on the way to create it
63
	# if frameworkcode does not exist, then OP must be changed to "create framework" if we are not on the way to create it
64
	# (op = itemtyp_create_confirm)
64
	# (op = itemtyp_create_confirm)
65
	if ($op eq "cud-framework_create_confirm") {
65
	if ($op eq "cud-framework_create_confirm") {
66
		duplicate_framework($frameworkcode, $existingframeworkcode);
66
		duplicate_framework($frameworkcode, $existingframeworkcode);
(-)a/misc/release_notes/release_notes_193.txt (-1 / +1 lines)
Lines 44-50 It loads an iso2709 file into the ACTIVE Database. My 1st tests on sample files Link Here
44
Feel free to try it.
44
Feel free to try it.
45
How it works ? enter ./bulkmarcimport in a console, and look.
45
How it works ? enter ./bulkmarcimport in a console, and look.
46
46
47
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.
47
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.
48
48
49
sample file :
49
sample file :
50
---------
50
---------
(-)a/misc/release_notes/release_notes_3_14_0.txt (-1 / +1 lines)
Lines 413-419 I18N/L10N Link Here
413
Installation and upgrade (web-based installer)
413
Installation and upgrade (web-based installer)
414
----------
414
----------
415
	10969	blocker	Fix sample itemtypes for translated installers
415
	10969	blocker	Fix sample itemtypes for translated installers
416
	10443	major	Table borrower_files does not exists in kohastructure.sql file
416
	10443	major	Table borrower_files does not exist in kohastructure.sql file
417
	10965	major	Sample itemtypes can't load on new install
417
	10965	major	Sample itemtypes can't load on new install
418
418
419
MARC Authority data support
419
MARC Authority data support
(-)a/patroncards/create-pdf.pl (-1 / +1 lines)
Lines 180-186 foreach my $item (@{$items}) { Link Here
180
                    $image_data = $dbh->selectrow_hashref("SELECT imagefile FROM creator_images WHERE image_name = \'$images->{$card_image}->{'data_source'}->[0]->{'image_name'}\'");
180
                    $image_data = $dbh->selectrow_hashref("SELECT imagefile FROM creator_images WHERE image_name = \'$images->{$card_image}->{'data_source'}->[0]->{'image_name'}\'");
181
                    warn sprintf('Database returned the following error: %s.', $error) if $error;
181
                    warn sprintf('Database returned the following error: %s.', $error) if $error;
182
                    unless($image_data){
182
                    unless($image_data){
183
                        warn sprintf('Image does not exists in db table %s.', $images->{$card_image}->{'data_source'}->[0]->{'image_name'});
183
                        warn sprintf('Image does not exist in db table %s.', $images->{$card_image}->{'data_source'}->[0]->{'image_name'});
184
                    }
184
                    }
185
                }
185
                }
186
                else {
186
                else {
(-)a/serials/create-numberpattern.pl (-2 / +1 lines)
Lines 54-60 my $sth = $dbh->prepare($query); Link Here
54
my $rv = $sth->execute($numberpattern->{'label'});
54
my $rv = $sth->execute($numberpattern->{'label'});
55
my $numberpatternid;
55
my $numberpatternid;
56
if($rv == 0) {
56
if($rv == 0) {
57
    # Pattern does not exists
57
    # Pattern does not exist
58
    $numberpatternid = AddSubscriptionNumberpattern($numberpattern);
58
    $numberpatternid = AddSubscriptionNumberpattern($numberpattern);
59
} else {
59
} else {
60
    ($numberpatternid) = $sth->fetchrow_array;
60
    ($numberpatternid) = $sth->fetchrow_array;
61
- 

Return to bug 39017