[Koha-bugs] [Bug 32630] New: Don't delete ILL requests when patron is deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 15:38:00 CET 2023


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

            Bug ID: 32630
           Summary: Don't delete ILL requests when patron is deleted
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: ILL
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
                CC: magnus at libriotech.no, martin.renvoize at ptfs-europe.com,
                    tomascohen at gmail.com

There is a FK constraint, that makes it so that when a patron is deleted, the
ILL requests linked to the account are deleted as well.

This can potentially cause a number of problems:
* ILL requests deleted could be pending, in shipment etc. You will have no
audit track if there are any problems with transport etc.
* You won't be able to do reliable statistics on number of ILL requests etc.
especially since adding a request is not even logged.


I propose that instead of removing the borrowernumber, we either
* leave it
* set it to NULL

Would love to get some input on this one!

-- 
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