[TASK] Split sys_file table to extract metadata 03/24503/9
authorSteffen Ritter <info@rs-websystems.de>
Sun, 15 Sep 2013 15:11:51 +0000 (17:11 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Sun, 13 Oct 2013 11:07:37 +0000 (13:07 +0200)
commit76a29d3dab7ef8ae7e41123dcba9920377ed565d
treeabdbf883cadbee9ac6a0c96e0d968575b53cc8bf
parent5867840248a6dd9067ab81d38d766a890e35a490
[TASK] Split sys_file table to extract metadata

Parts of the sys_file table are internal cache data
for the FAL Api to work. Other parts are a meta-data
storage for the FAL frontend output.
On the one hand this mixes up several concerns, on
the other hand this makes it difficult to translate
and version metadata since this would result in
duplicate FAL index entries.

As a result those two concerns are split in separate
tables. The user does not "see" the sys_file table
anymore. Metadata is edited only in sys_file_metadata.

Change-Id: Ia6e3664ad5602affcba4e02cf415aa39436d4352
Resolves: #52726
Releases: 6.2
Reviewed-on: https://review.typo3.org/24503
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
16 files changed:
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/Hook/FileInfoHook.php
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php
typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/TCA/sys_file.php
typo3/sysext/core/Configuration/TCA/sys_file_metadata.php [new file with mode: 0644]
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/core/Tests/Unit/Resource/FileTest.php
typo3/sysext/core/ext_tables.sql
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php
typo3/sysext/install/Classes/Updates/FileTableSplittingUpdate.php [new file with mode: 0644]
typo3/sysext/install/ext_localconf.php
typo3/sysext/lang/locallang_tca.xlf