[Koha-bugs] [Bug 25078] Gracefully stop updatedatabase/installer when a database change cannot be applied

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 22 14:36:32 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078

--- Comment #27 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I suggested that approach ~8 years ago, and it got abandoned (bug 7167). I am
not against the idea but it's weird we finally get back to it...

I personally don't think we should get rid of the "version" syspref. Mainly
because of this:
    if ( Koha::Migrations->pending_migrations > 0 ) {

We are going to execute it for every hit (at the OPAC at least): 1 SQL query +
1 list of the directory.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list