Bug #78776

FileUpload do not show errors.

Added by Alexander Opitz almost 3 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2016-11-23
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Since patch from #69916 errors while uploading files won't be shown.

  • Status code isn't set to 500 anymore
  • Message isn't wrapped in <t3err> tag anymore

Change in question https://review.typo3.org/#/c/43365/16/typo3/sysext/backend/Classes/Controller/File/FileController.php@209


Related issues

Related to TYPO3 Core - Feature #69916: Introduce PSR-7-based Routing for Backend AJAX Requests Closed 2015-10-22

Associated revisions

Revision e55c2930 (diff)
Added by Alexander Opitz almost 3 years ago

[BUGFIX] Show errors on ajax file actions

Respond with status code 500 on ajax file actions, so JS can differ
between success and failure.

Resolves: #78776
Related: #69916
Releases: master, 7.6
Change-Id: I166cb86be64a26d1a3b44bfba626bba3fd151df1
Reviewed-on: https://review.typo3.org/50753
Tested-by: TYPO3com <>
Reviewed-by: Gleb Levitin <>
Reviewed-by: Manuel Glauser <>
Tested-by: Manuel Glauser <>
Reviewed-by: Gianluigi Martino <>
Tested-by: Gianluigi Martino <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 3ba9172e (diff)
Added by Alexander Opitz almost 3 years ago

[BUGFIX] Show errors on ajax file actions

Respond with status code 500 on ajax file actions, so JS can differ
between success and failure.

Resolves: #78776
Related: #69916
Releases: master, 7.6
Change-Id: I166cb86be64a26d1a3b44bfba626bba3fd151df1
Reviewed-on: https://review.typo3.org/50835
Tested-by: TYPO3com <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Alexander Opitz almost 3 years ago

  • Description updated (diff)

#2 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50753

#3 Updated by Alexander Opitz almost 3 years ago

  • Description updated (diff)

#4 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50753

#5 Updated by Alexander Opitz almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50835

#7 Updated by Alexander Opitz almost 3 years ago

  • Status changed from Under Review to Resolved

#8 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF