[BUGFIX] Persist files that are updated in ResourceStorage 78/17478/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 12 Jan 2013 14:46:39 +0000 (15:46 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Jan 2013 14:07:42 +0000 (15:07 +0100)
commit8575f7baa938527ce58c65a3ca35cf9d0c258533
tree926ca0bb09fc4e11156a5b4b4345f893628e5d8b
parent63f89df86bf12b53a3ec7d65918dac42623d60dc
[BUGFIX] Persist files that are updated in ResourceStorage

When renaming or moving folders all files in that
folder needs to be updated. ResourceStorage handles
that, but the changes to the properties are not
persisted, which leads to inconsistent file records.

Persist updated files using the FileRepository and
clean up the code a bit.

Fixes: #44439
Releases: 6.0, 6.1

Change-Id: I9a21040fdd6741e030d812df165cd33959dd8db1
Reviewed-on: https://review.typo3.org/17478
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/FileRepository.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php