[Koha-bugs] [Bug 32037] Circulation module in action logs has bad links for deleted items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 28 16:50:47 CEST 2022


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 142775
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142775&action=edit
Bug 32037: Check for existence of object before building link

This patch adds a check on the existence of the object and passes this to the
template

I also drop a level of IF by moving to ELSIF

To test:
 1 - Enable ReturnLog amd IssueLog
 2 - Checkout an item to a patron
 3 - Return it
 4 - View 'Modification log' tab of the borrwer
 5 - Note item links, test them, they work
 6 - Delete the item
 7 - Reload and try links again, they do not work
 8 - Apply patch
 9 - Reload, no more links
10 - Checkout and return another item
11 - This one has links, and they work as before

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


More information about the Koha-bugs mailing list