[BUGFIX] Followup: Ajax handler TYPO3_tcefile::process is broken 63/27863/2
authorFrans Saris <franssaris@gmail.com>
Wed, 19 Feb 2014 20:41:23 +0000 (21:41 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 13 Mar 2014 11:54:42 +0000 (12:54 +0100)
commit3800d8bd87bb402e0163b1cfec45ee51ff8efd94
treef1a273a8ea9a19dedeccd71ac45129cfbf506d71
parentd405041c4286030045ecf1b778c643f47414e5c2
[BUGFIX] Followup: Ajax handler TYPO3_tcefile::process is broken

Upload action was taken care of, but the ajax handler can be just
for all commands that ExtendedFileUtility->processData can handle.

This change checks the result set and flattens
data only when needed.

Resolves: #56084
Releases: 6.2, 6.1
Change-Id: Ic1a0bd9084b9eb206b9b53960890d22d2a9c56f5
Reviewed-on: https://review.typo3.org/27863
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php [new file with mode: 0644]