[BUGFIX] ResourceStorage::SIGNAL_PreFileAdd should be triggered earlier 99/28099/4
authorXavier Perseguers <xavier@typo3.org>
Thu, 6 Mar 2014 10:43:16 +0000 (11:43 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 8 Mar 2014 16:32:46 +0000 (17:32 +0100)
commit3a4bd6f633e29535e7298c06888f2512741a825d
treeb0394a945877917d65718b7f61b5af0ea723cead
parente5b5fea68a4410d791ed39c0a82cba10145dae26
[BUGFIX] ResourceStorage::SIGNAL_PreFileAdd should be triggered earlier

The PreFileAdd signal should be triggered before the file exist check.
So the name and/or content can be manipulated before the target filename
is checked.

Change-Id: I0bbe32a4efa395a99278c480210310bd7466f259
Fixes: #56394
Releases: 6.2
Reviewed-on: https://review.typo3.org/28099
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/core/Classes/Resource/ResourceStorage.php