https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44114 --- Comment #4 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 211625 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211625&action=edit Bug 44114: Replace return_response with config.rawResponse return_response overlapped with config.suppressDefaultErrorDialog: in the non-Vue client, asking for the raw Response also skipped the error handling. Now that failed requests are always rejected, and the last caller relying on that (adding to a bundle) uses suppressDefaultErrorDialog and the status/code attached to the thrown error, it only selects the shape of a successful result. Remove the return_response parameter from both HttpClients and move that switch to the per-request config object, next to signal and suppressDefaultErrorDialog, as config.rawResponse. delete() and count() always set it: a 204 has no body, and count() reads X-Total-Count. Test plan: 1. Run: yarn cypress run --component --browser electron --spec 't/cypress/component/HttpClient_spec.ts,t/cypress/component/VueHttpClient_spec.ts' 2. Verify all specs pass. 3. git grep return_response -- koha-tmpl t ':!*/lib/*' ':!*/dist/*' returns nothing. 4. In ERM, check the counts on the module dashboard and the agreements list, then delete an agreement: still works. 5. Delete a vendor, a club and a localization string: still works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.