[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
Sat Oct 30 19:30:28 CEST 2021


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

Joonas Kylmälä <joonas.kylmala at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
                 CC|                            |joonas.kylmala at iki.fi

--- Comment #5 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
This messes up the statistic table, people are expecting there to be
'OPACRenew' as the value and not NULL. If you don't want to make this a huge
patch I would suggest to just drop the foreign key for the
'transaction_branchcode' in pseudonymized_transactions table. I also assume
people don't want there to be foreign key relation in order to be able to
delete branches and still keep the stats in place.

However, if you want to go the original patch's route, which I think not, then
the change should be done in Koha::Item::renewal_branchcode instead. The
syspref documentation and database upgrade would need to be provided as well.

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


More information about the Koha-bugs mailing list