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

--- Comment #155 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 205507
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205507&action=edit
Bug 41129: (QA follow-up) Thread request config through the Vue HttpClient

The sibling fetch/http-client.js was hardened to accept a per-request
config object (config.signal, config.suppressDefaultErrorDialog), but
this Vue variant was missed. Since it's what the live staff booking
modal actually uses (via the @bookingApi alias to staff-interface.js),
every booking submission failure showed two error messages: the
inline one BookingForm.vue renders itself, plus a spurious global
banner this client raised regardless of suppressDefaultErrorDialog.
Abort-on-supersede (workflow.js's transitionController.abort()) was
also a no-op, since the signal never reached fetch().

Thread config through _fetchJSON and every public method the same way
the plain client does.

Signed-off-by: Martin Renvoize <[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