[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 17:16:38 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33482
Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #149435|0 |1
is obsolete| |
--- Comment #5 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 149450
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149450&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
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list