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

--- Comment #35 from Lisette Scheer <[email protected]> ---
Created attachment 210023
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210023&action=edit
Bug 41249: (follow-up) Fix TypeError when auto backends are unavailable

row.auto_backends stays {} when AutoILLBackendPriority yields no
batch backends, so .find throws. Guard with Array.isArray.

Test plan:
1) Clear AutoILLBackendPriority, add items to a new ILL batch
2) Note TypeError, apply patch, repeat, requests are created

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Lisette Scheer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to