[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
Tue Feb 2 13:05:51 CET 2021


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #116032|0                           |1
        is obsolete|                            |

--- Comment #19 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 116208
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116208&action=edit
Bug 25078: [POC] Lazy version

This is the lazy, quick and dirty, version.
We use a try catch block and execute the db entry in a transaction.
When I error is found, we stop.

The main problem is that we cannot do anything with the raw output in
the template.

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


More information about the Koha-bugs mailing list