https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41249
--- Comment #37 from Pedro Amorim (ammopt) <[email protected]> --- Created attachment 211618 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211618&action=edit Bug 41249: (follow-up) Do not submit rows with failed metadata populateAutoILL adds branchcode and cardnumber to row.metadata, so rows whose metadata lookup failed were submitted as empty ILL requests. Skip the auto backend check for rows without metadata, and show the failed message instead of 'Creating...' for those rows. Test plan: 1) Enable 'ILLModule' and install these two plugins: https://github.com/openfifth/koha-plugin-api-pubmed/releases/tag/1.1.1 https://github.com/openfifth/koha-ill-backend-plugin/releases/tag/v2.0.8 2) Tick 'PluginBackend' in AutoILLBackendPriority: http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AutoILLBackendPriority 3) Before applying the patch, visit http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl and click the 'New ILL requests batch' button 4) Enter any name, '42' for cardnumber, any library, click 'Continue' 5) In the identifiers box enter, one per line: 123 99999999999 6) Notice the second row shows as failed 7) Click 'Add items to batch' 8) Notice an ILL request was also created for the failed row 9) Apply the patch, repeat 3) to 7) with a new batch 10) Notice only the valid row was created, and the failed row still shows 'Failed to retrieve' in the 'Auto backend' column Co-Authored-By: Claude Opus 5.5 <[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/
