[Koha-bugs] [Bug 34316] account->add_credit does not rethrow exception
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 20 10:16:46 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34316
--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #0)
> Found while debugging 33608 on a new failure in Items.t.
> It was a FK constraint on credit_id which was very misleading.
> Cause is an exception that was not rethrown in Accounts coming from a wrong
> statistic type and revealed now by new code in UpdateStats/Statistic.pm.
Actually, there is still another thing ;)
Related to new code that looks at value instead of amount.
So 33608 needs a correction too.
Rethrowing the exception should go here on its own.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list