[BUGFIX] Show errors on ajax file actions 35/50835/2
authorAlexander Opitz <opitz.alexander@googlemail.com>
Wed, 23 Nov 2016 11:43:21 +0000 (12:43 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 1 Dec 2016 16:10:22 +0000 (17:10 +0100)
commit3ba9172e77455cfcd750f9f555979400afb0abbf
treed81a4183400c33574d300d6c48cc179c76614639
parent7ba7815b624762361ac087ca304725d06a5f365b
[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 <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php