[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
Fri Mar 5 14:09:51 CET 2021


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

--- Comment #43 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
The two main needs here were:
1. Stop the process if an error occurs
2. Handle it nicely for the end users.

1. has been done by bug 25026. However we are missing the transactions and a
correct error handling.
2. Is done on this patch set, by allowing the info from each DBrev to be
accessed from 2 different places.
This is what we need for 21.05.
My 3 POCs are complementary (each one adding to the previous one) and the
commit messages explain what they are doing, and/or the diff is trivial.

What you are suggestion on bug 27880 is much bigger and will certainly have
side-effects (drop of the version syspref and modification of the version
format).

That's definitely out of the scope and does not answer 2.

I would be inclined to go with your design and help to get it in, if we all
agree it's where we want to go.
Unfortunately most of the time I am the one who needs to provide the additional
and clean-up work, and I won't have the time to deal with that for 21.05.

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


More information about the Koha-bugs mailing list