Bug 25707: (QA follow-up) Clearer message about what's going on
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 11 Jun 2020 18:42:22 +0000 (15:42 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Jun 2020 07:57:22 +0000 (09:57 +0200)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

installer/data/mysql/updatedatabase.pl

index 10c7ac0..de5286e 100755 (executable)
@@ -19229,8 +19229,7 @@ if( CheckVersion( $DBversion ) ) {
         });
     }
 
-#    $dbh->do(q{UPDATE marc_subfield_structure JOIN fieldmapping ON tagfield = fieldcode AND subfieldcode=tagsubfield SET kohafield='biblio.subtitle' WHERE fieldmapping.frameworkcode='' AND field = 'subtitle'});
-    $sth = $dbh->prepare("SELECT * FROM fieldmapping"); # WHERE frameworkcode != '' OR field != 'subtitle'");
+    $sth = $dbh->prepare("SELECT * FROM fieldmapping");
     $sth->execute;
     my @fails_11529;
     if ( $sth->rows ) {
@@ -19269,7 +19268,10 @@ if( CheckVersion( $DBversion ) ) {
               . $fail_11529->{framework}
               . " framework\n";
         }
-        print "You will need to remap using Koha to MARC mappings in administration\n";
+        print "The keyword to marc mapping feature is no longer supported. Above find the\n";
+        print "mappings that had been defined in your system. You will need to remap any\n";
+        print "desired MARC fields to the Koha field you desire in the Koha to MARC mappings\n";
+        print "page under Administration\n";
     }
     print "NOTE: misc/batchRebuildBiblioTables.pl should be run to populate the fields introduced in bug 11529. It may take some time for larger databases.\n\n"
 }