[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:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Richard Haeser <richard@richardhaeser.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Richard Haeser <richard@richardhaeser.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Ajax/AjaxRequest.ts 1 addition, 2 deletions...ript/core/Resources/Public/TypeScript/Ajax/AjaxRequest.ts
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Ajax/AjaxResponse.ts 31 additions, 5 deletions...ipt/core/Resources/Public/TypeScript/Ajax/AjaxResponse.ts
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Ajax/ResponseError.ts 3 additions, 0 deletions...pt/core/Resources/Public/TypeScript/Ajax/ResponseError.ts
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Ajax/SimpleResponseInterface.ts 5 additions, 0 deletions...sources/Public/TypeScript/Ajax/SimpleResponseInterface.ts
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/BackwardCompat/JQueryNativePromises.ts 2 additions, 2 deletions.../Public/TypeScript/BackwardCompat/JQueryNativePromises.ts
- Build/Sources/TypeScript/extensionmanager/Resources/Public/TypeScript/Update.ts 1 addition, 2 deletions...pt/extensionmanager/Resources/Public/TypeScript/Update.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Environment/EnvironmentCheck.ts 1 addition, 2 deletions.../Public/TypeScript/Module/Environment/EnvironmentCheck.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Environment/FolderStructure.ts 2 additions, 3 deletions...s/Public/TypeScript/Module/Environment/FolderStructure.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Environment/ImageProcessing.ts 2 additions, 3 deletions...s/Public/TypeScript/Module/Environment/ImageProcessing.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Environment/MailTest.ts 1 addition, 2 deletions...esources/Public/TypeScript/Module/Environment/MailTest.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Environment/PhpInfo.ts 1 addition, 2 deletions...Resources/Public/TypeScript/Module/Environment/PhpInfo.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Environment/SystemInformation.ts 1 addition, 2 deletions...Public/TypeScript/Module/Environment/SystemInformation.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Maintenance/ClearTables.ts 2 additions, 3 deletions...urces/Public/TypeScript/Module/Maintenance/ClearTables.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Maintenance/ClearTypo3tempFiles.ts 2 additions, 3 deletions...blic/TypeScript/Module/Maintenance/ClearTypo3tempFiles.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Maintenance/CreateAdmin.ts 2 additions, 3 deletions...urces/Public/TypeScript/Module/Maintenance/CreateAdmin.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Maintenance/DatabaseAnalyzer.ts 3 additions, 4 deletions.../Public/TypeScript/Module/Maintenance/DatabaseAnalyzer.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Maintenance/LanguagePacks.ts 4 additions, 5 deletions...ces/Public/TypeScript/Module/Maintenance/LanguagePacks.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Settings/ChangeInstallToolPassword.ts 2 additions, 3 deletions...c/TypeScript/Module/Settings/ChangeInstallToolPassword.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Settings/ExtensionConfiguration.ts 2 additions, 3 deletions...blic/TypeScript/Module/Settings/ExtensionConfiguration.ts
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Settings/Features.ts 2 additions, 3 deletions...l/Resources/Public/TypeScript/Module/Settings/Features.ts
Please register or sign in to comment