[Koha-bugs] [Bug 33482] Errors from EBSCO's ws are not reported to the UI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 11 13:49:28 CEST 2023


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 149435
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149435&action=edit
Bug 33482: Propagate errors from EBSCO's ws to the UI

When adding or removing eholdings from EBSCO, if an error happens it is
lost and not propagated to the UI.

We were missing a return in the logic, and always returning 200

Test plan:
Do not apply (or revert) bug 33481
Configure EBSCO for ERM and add a package to your holdings
With this patch applied you will get a 500 that is propagated to the UI
Without this patch nothing happens and the user is not aware that
something bad happened

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list