Bug 34898

Summary: Links in reports don't work when item/record/patron have been deleted
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
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:

Description Katrin Fischer 2023-09-23 10:04:44 UTC
I think we need some test to see if the ID still exists:

To test:
* Find a record with a few items
* Delete all items
* Create a report: select * from deleteditems;

Try the links on the itemnumber - they will result in an error:

Can't call method "biblionumber" on an undefined value at /kohadevbox/koha/catalogue/moredetail.pl line 76