[Koha-bugs] [Bug 25078] Update DB process - wrap each DBRev inside a transaction and better error handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 14 17:12:26 CEST 2021


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

--- Comment #55 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Julian Maurice from comment #54)
> (In reply to Jonathan Druart from comment #51) 
> > It's not what is done (and has never been done). We display display the
> > output when the DBrev has been executed.
> You're right, the output has always been displayed after the execution. What
> I'm saying is that it would be nice to be able to display a description of
> the updates before their execution.
> I know it's not the goal of this bug, but since it changes the structure of
> database updates, it's a good time to think about future improvements, to
> avoid changing the structure again later.
> I'll submit a patch later to show what I have in mind (maybe on a remote git
> repository to not pollute this bug)

Then we would need 2 kinds of "description", as we want to keep the ability to
output something dependent on what is in DB (like raise a warning if we find
data inconsistency).

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


More information about the Koha-bugs mailing list