[FEATURE] Introduce handling of missing files 13/22913/8
authorFrans Saris <franssaris@gmail.com>
Wed, 7 Aug 2013 09:51:34 +0000 (11:51 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 28 Aug 2013 11:08:34 +0000 (13:08 +0200)
commit55b8107f6e1b0ca1ce69c847c446bd07fe060bd1
tree8afa823fa3638f6ee7fc727526e3424e1d286d74
parent50701a031fc83ea73a4b8633b8677a11852a5883
[FEATURE] Introduce handling of missing files

To keep track of missing files we introduce a missing
flag is sys_files.
When indexer detects file is missing the flag is set
and reset when file is present again.

In backend a message is shown when a reference to a
missing file is used.

Resolves: #50827
Change-Id: Iaaf9455698507c5cd574f6928fa5a563a49ad121
Reviewed-on: https://review.typo3.org/22913
Reviewed-by: Steffen Ritter
Reviewed-by: Kai Ole Hartwig
Tested-by: Kai Ole Hartwig
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Tested-by: Steffen Ritter
18 files changed:
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/backend/Classes/Form/Element/InlineElement.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/Resource/AbstractFile.php
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/FileReference.php
typo3/sysext/core/Classes/Resource/FileRepository.php
typo3/sysext/core/Classes/Resource/Hook/FileInfoHook.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/Service/IndexerService.php
typo3/sysext/core/Classes/Resource/Utility/BackendUtility.php [new file with mode: 0644]
typo3/sysext/core/Configuration/TCA/sys_file.php
typo3/sysext/core/ext_tables.sql
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/lang/locallang_core.xlf
typo3/sysext/lang/locallang_tca.xlf