Bug 34603

Summary: Deleted biblio causes holdshistory.tt to explode
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 32894    
Bug Blocks:    

Description Lucas Gass (lukeg) 2023-08-23 20:31:37 UTC
To reproduce:

1. Make some holds for a patron
2. Fulfill the hold then check it back in 
3. Delete the biblio
4. Explode

Template process failed: undef error - DBIC result _type  isn't of the _type Biblio at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt line 73.
 at /kohadevbox/koha/C4/Templates.pm line 127
Comment 1 Lucas Gass (lukeg) 2023-08-23 20:35:53 UTC
old_reserves is pointing to a non-existent biblionumber
Comment 2 Lucas Gass (lukeg) 2023-08-25 17:10:12 UTC

*** This bug has been marked as a duplicate of bug 34609 ***