[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
Wed Apr 8 16:01:58 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.koha-community
| |.org/bugzilla3/show_bug.cgi
| |?id=24131
--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
How it works so far: from the IU, the updatedatabase.pl is called, the outputs
redirected to tmp files, reopened and displayed. That's ugly and does not let
us much flexibility.
I would like to rewrite it and have 2 scripts, the command line script, then
the UI script. Both would call a method for each update step. So we could
retrieve the outputs, exceptions or whatever we want easily.
As I said I would prefer to have the whole thing ran in one go. And you don't:)
That only means we need a switch that would be easy to implement if things are
correctly written.
I am happy to collect any ideas you have to improve the update process. I will
try and work on that during the next dev cycle.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list