[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
Wed Apr 8 15:35:25 CEST 2020


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

--- Comment #6 from Lari Taskula <lari.taskula at hypernova.fi> ---
(In reply to Jonathan Druart from comment #3)
> On the other hand I can imagine that one could want to get all the errors at
> once, and deal with them in one go. That's the behavior what I would like to
> get if I had to deal with upgrade process. In that case I imagine a switch
> would be needed.
Do you mean executing all the db updates and gather errors from all of them? If
an error occurs we should stop immediately in order to avoid the next steps
potentially causing damage to the database.

I like the idea of exception handling for db updates, but this seems like a big
change to the installer considering it already sort of works the way it is as
shown in the screenshot.

-- 
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