[BUGFIX] Ajax handler TYPO3_tcefile::process is broken 80/27080/7
authorFrans Saris <franssaris@gmail.com>
Mon, 27 Jan 2014 20:47:41 +0000 (21:47 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Fri, 31 Jan 2014 13:30:37 +0000 (14:30 +0100)
commit5cf92725cebc7ce544351e59861bb113db9bc1b1
tree51538ed58b87a0cae9431bafca038574b1586a06
parent3e8eacecc31f4d82dda609a94812da55e96da54c
[BUGFIX] Ajax handler TYPO3_tcefile::process is broken

Several changes in core broke the ajax upload handler response.
There is no error response and it tries to json_encode complete
File objects.

This changes reverts some of the "cleanup" changes fixes the
response and makes sure only the error message from current
request are used.

Resolves: #55371
Releases: 6.2, 6.1
Change-Id: Ia09f5ffd5e002b1ba50d4fafa747340462d15148
Reviewed-on: https://review.typo3.org/27080
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/filelist/Classes/Controller/FileListController.php