[BUGFIX] Update FAL metadata if file is added with REPLACE method 56/53656/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 09:02:16 +0000 (11:02 +0200)
commit860374afa10de5bbf66310db103a29ae3f95be91
treeb4193c4c5348617a80f7b3b6f425c173449ad5a6
parentc50564aa8e267a57aeba6c87d4257654dbe26b96
[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/53656
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