[Koha-bugs] [Bug 29605] DB structure may not be synced with kohastructure.sql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 03:54:13 CEST 2022


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

--- Comment #56 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #55)
> We discussed that already.
> The problem is that most of the time the error is coming from the atomic
> update, the kohastructure is correct...

Yeah it's easy to test a new kohastructure.sql or an atomic update against the
last kohastructure.sql, but systems in the wild don't always play nice with
atomic updates.

Bug 30951 also shows a problem with
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/db_revs/211102003.pl
where it doesn't take into account existing duplicate keys before adding a
primary key. 

I suppose Bug 30951 might need to update that database migration so that it
does some kind of deduping... or to throw a fatal error that includes a line
number to make it easier to troubleshoot...

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


More information about the Koha-bugs mailing list