[TASK] Streamline drag uploader failure message
The Folder Tree shows notifications through FlashMessages when using the AJAX endpoint "file_process", while the drag uploader still used the very old "terr" XML Response (which I added in TYPO3 v4.1). Now the file_process returns the error messages from the flash message queue, ready to be printed out. The "includeMessages" is thus not needed anymore, as message results are always sent. Resolves: #97177 Releases: main Change-Id: I0ded504fcfd4847e01f44440fab5230899881285 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73906 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- Build/Sources/TypeScript/backend/drag-uploader.ts 55 additions, 37 deletionsBuild/Sources/TypeScript/backend/drag-uploader.ts
- Build/Sources/TypeScript/backend/tree/file-storage-tree-container.ts 1 addition, 1 deletion...es/TypeScript/backend/tree/file-storage-tree-container.ts
- typo3/sysext/backend/Classes/Controller/File/FileController.php 22 additions, 32 deletions...sysext/backend/Classes/Controller/File/FileController.php
- typo3/sysext/backend/Resources/Public/JavaScript/drag-uploader.js 1 addition, 1 deletion...sext/backend/Resources/Public/JavaScript/drag-uploader.js
- typo3/sysext/backend/Resources/Public/JavaScript/tree/file-storage-tree-container.js 1 addition, 1 deletion...ces/Public/JavaScript/tree/file-storage-tree-container.js
- typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php 72 additions, 36 deletions...backend/Tests/Unit/Controller/File/FileControllerTest.php
- typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php 0 additions, 20 deletions.../sysext/core/Classes/Utility/File/ExtendedFileUtility.php
- typo3/sysext/core/Tests/Acceptance/Application/FileList/FileOperationsCest.php 2 additions, 2 deletions...ts/Acceptance/Application/FileList/FileOperationsCest.php
Please register or sign in to comment