[BUGFIX] Update FAL metadata if file is added with REPLACE method 53/53653/3
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:11 +0000 (10:42 +0200)
commit9626d3943e74f72305b7b40caaee563fe7269093
tree789664d5a91ba88be72876b7a610d79151d4076e
parent1f81eac355bf073f8deba6dab7bee5544abbda15
[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/53653
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Resource/ResourceStorage.php