[Koha-bugs] [Bug 29341] If OpacRenewalBranch = opacrenew, pseudonymization process leads to "internal server error" when patrons renew the loans at OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 16 13:41:02 CET 2021


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at bywatersolutions.com

--- Comment #21 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #17)
> I disagree with removing the FK. Statistics should not keep a wrong/obsolete
> code, they are kept (ON DELETE SET NULL) however.
> 
> There are different things, and different fixes: Statistics table is missing
> the FK (or does not have it on purpose), and the OpacRenewalBranch behaviour
> is badly designed.
> 
> I don't think removing the FK is going into the correct direction, adding a
> separate column is definitely out of the scope here. We need a quick bugfix
> for the ugly 500 (that is blocker), and this patch is the way to go in my
> opinion.

I disagree here, I think we should remove the FK to branches as the quick fix.

While we may have opinions about how that feature was implemented, it has been
implemented. Statistics is a ledger of transactions - foreign keys are going to
remove/nullify data after the fact and I think that would be incorrect.

If Pseudonymized transactions are meant to mirror the statistics table then I
feel we should remove the FK for now, and fix the larger issue with OPACRenew
etc on a new bug.

Adding a new branch is going to add the branch in many places throughout Koha
and will impact workflows

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


More information about the Koha-bugs mailing list