[BUGFIX] Prevent uncaught exception in Import/Export controller 63/52363/5
authorNicole Cordes <typo3@cordes.co>
Tue, 4 Apr 2017 13:26:43 +0000 (15:26 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Tue, 20 Jun 2017 11:10:00 +0000 (13:10 +0200)
commite440f477841f0996fa4520693302b230005d5190
tree62c4a2b89454929a66832beaf590dc1c949bec0c
parentb8f85952cb7555744fd65ed5fd50cf68ff555de9
[BUGFIX] Prevent uncaught exception in Import/Export controller

Currently an error is thrown if no post data was sent to the
ImportExportController. This can easily happen if a t3d file should
be uploaded but is larger than the configured post_max_size of the
server. This patch checks the incoming information, sets the import
action as default and displays an information to the user that he/she
may have tried to upload a file that was too large.

Resolves: #80681
Releases: master, 8.7, 7.6
Change-Id: I561dbf6abd74acace3eff179a513b4f9128d792d
Reviewed-on: https://review.typo3.org/52363
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Resources/Private/Language/locallang.xlf