[Koha-bugs] [Bug 18050] Missing constraint on aqbudgets.budget_period_id in aqbudgets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 2 10:56:24 CEST 2020


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

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maurice at biblibre.com

--- Comment #10 from Julian Maurice <julian.maurice at biblibre.com> ---
I think there is something wrong here: if database contains orphan budget, the
updatedatabase will warn about it and go on.
One can see the warning and fix it, but there will be no easy way to re-run the
update,
or one can miss the warning and continue using koha with a wrong schema.

That's not the first time I see this pattern, and I think there is a problem
with that. What's the point of updatedatabase if it doesn't ensure that the
schema is correct at the end ?
I think the updatedatabase should just die here, let the admin fix the problem
and re-run the updatedatabase process.

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


More information about the Koha-bugs mailing list