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

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |The shared frontend HTTP
      release notes|                            |client is more robust for
                   |                            |developers writing staff
                   |                            |interface JavaScript. A
                   |                            |malformed response, such as
                   |                            |a proxy error page or a
                   |                            |session-expired redirect,
                   |                            |is now reported as an error
                   |                            |rather than as a JSON parse
                   |                            |failure. Errors keep the
                   |                            |HTTP status and Koha error
                   |                            |code. Requests accept an
                   |                            |`AbortSignal` to cancel
                   |                            |them, and callers that show
                   |                            |their own error message can
                   |                            |suppress the default error
                   |                            |dialog. A new
                   |                            |`formatApiError()` helper,
                   |                            |in `js/fetch/api-error.js`,
                   |                            |gives translated messages
                   |                            |for an expired session, a
                   |                            |forbidden request and a
                   |                            |network failure.

-- 
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