https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34316 Bug ID: 34316 Summary: account->add_credit adds tries to add wrong statistic type Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org 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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.