[BUGFIX] Ensure proper conflictMode on t3d upload 84/49984/3
authorNicole Cordes <typo3@cordes.co>
Tue, 20 Sep 2016 16:31:24 +0000 (18:31 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 21 Sep 2016 11:16:35 +0000 (13:16 +0200)
commit94d740c296a80cf96869ab8e6fb43978efc59593
tree6021f59a7771bd5d5861dc6062c79917c679be65
parent21bf5f1244c247c2ac46edbf39c53e4cddade1fb
[BUGFIX] Ensure proper conflictMode on t3d upload

The overwriteExistingFiles argument in ImportExportController can't be
cast to \TYPO3\CMS\Core\Resource\DuplicationBehavior due to an empty
value. This patch ensures a correct conflict mode which can be cast.

Resolves: #78017
Related: #77136
Releases: master
Change-Id: Ib55191bc2f6368d2322270315083f80ee13fe45d
Reviewed-on: https://review.typo3.org/49984
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/impexp/Classes/Controller/ImportExportController.php