Bug 36212

Summary: transferbook should not look for items without barcode
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Marcel de Rooy <m.de.rooy>
Status: Pushed to oldoldstable --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: fridolin.somers, lucas, phil
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31427
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00,23.11.04,23.05.10
Circulation function:
Attachments: Bug 36212: Add check on barcode before searching items

Description Marcel de Rooy 2024-03-01 09:37:29 UTC
Circulation.t fails if you have items without barcode on transferbook tests.
See also bug 31427.
Comment 1 Marcel de Rooy 2024-03-01 09:41:49 UTC
Created attachment 162646 [details] [review]
Bug 36212: Add check on barcode before searching items

Test plan:
Add an item to your database that has no barcode.
Run t/db_dependent/Circulation.t
It will fail without this patch, pass with this patch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 2 Marcel de Rooy 2024-03-01 09:42:53 UTC
Trivial. This is kind of QA follow-up for getting 31427 further.
Comment 3 Katrin Fischer 2024-03-07 16:37:31 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 4 Fridolin Somers 2024-03-11 10:19:02 UTC
Pushed to 23.11.x for 23.11.04
Comment 5 Lucas Gass (lukeg) 2024-03-19 19:58:19 UTC
Backported to 23.05.x for upcoming 23.05.10