[Koha-bugs] [Bug 25078] Gracefully stop updatedatabase.pl when a database change cannot be applied
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 7 17:32:12 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078
--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Here are some occurrences where we drop a message and continue the update
process.
7285 print "Upgrade to $DBversion done (Bug 10636 - patronimage should
have borrowernumber as PK, not cardnumber) failed! Transaction aborted because
$@\n";
7286 eval { $dbh->rollback };
8057 print "Upgrade to $DBversion failed (Bug 7372: Move road
types from the roadtype table to the ROADTYPE authorised values.\nTransaction
aborted because $@\n)";
8058 $dbh->rollback;
17027 warn "Upgrade to $DBversion failed: $@\n";
11100 print "Upgrade to $DBversion done (Bug 10020: This database
contains data related to 'ethnicity'. No change will be done on the DB
structure but note that the Koha codebase does not use it)\n";
12596 print "WARNING: You have corrupted data in your items table!! The
table contains $cnt references to biblio records that do not exist.\nPlease
correct your data IMMEDIATELY after this upgrade and ma nually add the
foreign key constraint for biblionumber in the items table.\n";
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list