[!!!][TASK] Move sys_collection_* DB and TCA definitions into legacy_collections
A new TER Extension "legacy_collections" has been added to FriendsOfTYPO3 which contains DB tables and TCA definitions for "sys_collection" and its MM relation table. The functionality was originally intended with the introduction of taxonomy and FAL File relations (which are stored in sys_file_collection) to be used as a generic TCA store for collections, which was never picked up in the past 8 years. A personal survey of several installations showed that almost none of the TYPO3 instances have the database tables filled, making this unneeded code and database code, for only a handful of people. Instead of providing the database tables by default in all installations, the database tables and their TCA definitions are now available in a separate extension "legacy_collections", which serves as a drop-in replacement for everybody who needs this API and the database tables. An update wizard checks if the sys_collection database table is filled, and allows to install this extension. The new extension is compatible with TYPO3 v10, so it should ease the migration path. Resolves: #91909 Releases: master Change-Id: I85d53cc7969f9f9ce93311dd483be31735bf8c05 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65147 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Classes/Collection/AbstractRecordCollection.php 19 additions, 11 deletions...sext/core/Classes/Collection/AbstractRecordCollection.php
- typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php 0 additions, 234 deletions...xt/core/Classes/Collection/RecordCollectionRepository.php
- typo3/sysext/core/Classes/Collection/StaticRecordCollection.php 0 additions, 198 deletions...sysext/core/Classes/Collection/StaticRecordCollection.php
- typo3/sysext/core/Classes/Resource/FileCollectionRepository.php 108 additions, 4 deletions...sysext/core/Classes/Resource/FileCollectionRepository.php
- typo3/sysext/core/Configuration/TCA/sys_collection.php 0 additions, 195 deletionstypo3/sysext/core/Configuration/TCA/sys_collection.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-91909-SysCollectionDatabaseTablesMovedIntoExternalExtension.rst 57 additions, 0 deletions...SysCollectionDatabaseTablesMovedIntoExternalExtension.rst
- typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf 0 additions, 21 deletions.../sysext/core/Resources/Private/Language/locallang_tca.xlf
- typo3/sysext/core/Tests/Functional/Collection/RecordCollectionRepositoryTest.php 0 additions, 333 deletions.../Functional/Collection/RecordCollectionRepositoryTest.php
- typo3/sysext/core/Tests/Functional/Tca/CollectionVisibleFieldsTest.php 0 additions, 55 deletions...core/Tests/Functional/Tca/CollectionVisibleFieldsTest.php
- typo3/sysext/core/ext_tables.sql 0 additions, 25 deletionstypo3/sysext/core/ext_tables.sql
- typo3/sysext/install/Classes/Updates/CollectionsExtractionUpdate.php 141 additions, 0 deletions...t/install/Classes/Updates/CollectionsExtractionUpdate.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php 10 additions, 0 deletions...l/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
- typo3/sysext/install/ext_localconf.php 2 additions, 0 deletionstypo3/sysext/install/ext_localconf.php
- typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php 0 additions, 1 deletion...kspaces/Tests/Functional/Service/WorkspaceServiceTest.php
Please register or sign in to comment