[BUGFIX] Persist files that are updated in ResourceStorage 06/17506/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:11:50 +0000 (15:11 +0100)
commitf15b44853093dba350a50c4d901984f4e2e94c95
treeeedaeed106c9665374321a62966edee2d747b6a8
parent0263c4d4d7074603ce210a4e7d53a780eca5ff8d
[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
Reviewed-on: https://review.typo3.org/17506
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/FileRepository.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php