Skip to content
Snippets Groups Projects
Commit 262fec95 authored by Oliver Hader's avatar Oliver Hader Committed by Benni Mack
Browse files

[TASK] Replace ResponseError with regular AjaxResponse

HTTP responses having a status code not in 200-299 are basically
still responses. In order to allow general response handling
ResponseError is dropped in favor of AjaxResponse.

Besides that `AjaxResponse.dereference()` has been introduced which
allows to forward relevant data (status, headers, body) in events or
broadcast messages to other `window` instances or frames.

Resolves: #92222
Releases: master, 10.4
Change-Id: I3ac986980fe53bb528046f58bc19392744122ee7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65625


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarRichard Haeser <richard@richardhaeser.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent ef015d96
No related merge requests found
Showing
with 70 additions and 52 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment