Bug 34898 - Links in reports don't work when item/record/patron have been deleted
Summary: Links in reports don't work when item/record/patron have been deleted
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 10:04 UTC by Katrin Fischer
Modified: 2023-09-23 10:04 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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