[Koha-bugs] [Bug 34316] New: account->add_credit adds tries to add wrong statistic type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 20 09:28:52 CEST 2023


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 at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at 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.


More information about the Koha-bugs mailing list