[!!!][TASK] Migrate backend_layout.icon to FAL 30/54830/8
authorBenni Mack <benni@typo3.org>
Tue, 28 Nov 2017 11:57:38 +0000 (12:57 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 29 Nov 2017 17:31:13 +0000 (18:31 +0100)
commit1791bebc63ce4049ee67d280c0ea1af81fe72938
tree07f849d5b07e6553fba6363d87782995e3c9ae9a
parent5c048a4c8017e4d50ab5f2343970a0fd33e4aaed
[!!!][TASK] Migrate backend_layout.icon to FAL

The last place in TYPO3 Core to use internal_type=file (backend_layout.icon)
is now moved to FAL with sys_file_reference.

An upgrade wizard is in place to migrate existing icons from uploads/media
to sys_file.

FormEngine is migrated to also allow to use sys_file_references for the
TCA ctrl property "selicon_field".

With this change, a followup could be integrated to deprecate "old-style"
internal_type=file code, and also to not create the uploads/ folder at all anymore
within TYPO3 installations.

Additionally, the functionality of "selicon_field_path" should be deprecated
in the future.

Resolves: #83153
Releases: master
Change-Id: I578fd68b7e1f7bc6a1991b90e7750b903d3ec28b
Reviewed-on: https://review.typo3.org/54830
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sebastian Hofer <sebastian.hofer@marit.ag>
Tested-by: Sebastian Hofer <sebastian.hofer@marit.ag>
Reviewed-by: Pawel Cieslik <p.cieslik@macopedia.pl>
Tested-by: Pawel Cieslik <p.cieslik@macopedia.pl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php
typo3/sysext/backend/Classes/View/BackendLayout/DefaultDataProvider.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-83153-MigratedBackendLayoutIconToFileAbstractionLayer.rst [new file with mode: 0644]
typo3/sysext/frontend/Configuration/TCA/backend_layout.php
typo3/sysext/frontend/ext_tables.sql
typo3/sysext/install/Classes/Updates/BackendLayoutIconUpdateWizard.php [new file with mode: 0644]
typo3/sysext/install/ext_localconf.php