[BUGFIX] Update FAL metadata if file is added with REPLACE method 54/53654/2
authorJohannes Kasberger <johannes.kasberger@reelworx.at>
Mon, 7 Aug 2017 16:16:31 +0000 (18:16 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 8 Aug 2017 08:42:45 +0000 (10:42 +0200)
commit7059448b24354ccde7fb9c9d22a0a152a07b46fa
tree76570b0590aff7c80e01feea261c9c870ca0bfb2
parent1b4d3184c53a0dc4e949e2c4c73d43076776a392
[BUGFIX] Update FAL metadata if file is added with REPLACE method

Make sure the meta data is updated whenever a file is added to
a storage with DuplicationBehavior::REPLACE. This is important
as otherwise the internally stored file size is wrong!

Resolves: #78009
Releases: master, 8.7, 7.6
Change-Id: I93b0700afc62268f8c7a61eea7183f86a87a075e
Reviewed-on: https://review.typo3.org/53654
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Resource/ResourceStorage.php