[!!!][TASK] Remove pages.doktype 255 / recycler
Historically, TYPO3 Core has had a custom page doktype "recycler" which was used as a "manual trash bin" so editors could park / move records to that location instead of deleting them. However, the concept of the actual "recycler" (where the GUI is in the system extension recycler) is to actually use the "soft-delete" feature and restore / undelete records based on the GUI. There is a huge advantage, as the records are kept on the actual Page ID instead of a custom recycler. In order to avoid confusion, the manual logic of pages.doktype=255 as a recycler to have editors move content manually in there, is removed. The TCA is adapted, and the constant PageRepository::DOKTYPE_RECYCLER is removed as well. People who want to use a recycler, can use the recycler system extension. An upgrade wizard moves pages of type "doktype 255" to a regular Backend User Section with a prefix "[RECYCLER] " in the page title. Resolves: #101137 Releases: main Change-Id: Ibd8a6bb788eeada0110390ca2cca411c61961c3e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79472 Reviewed-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/PageProvider.php 0 additions, 1 deletion...ackend/Classes/ContextMenu/ItemProviders/PageProvider.php
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php 0 additions, 1 deletion...kend/Classes/ContextMenu/ItemProviders/RecordProvider.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 1 addition, 3 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Classes/Controller/NewRecordController.php 1 addition, 2 deletions...sysext/backend/Classes/Controller/NewRecordController.php
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php 1 addition, 2 deletions...ysext/backend/Classes/Controller/PageLayoutController.php
- typo3/sysext/backend/Classes/Controller/RecordListController.php 1 addition, 2 deletions...ysext/backend/Classes/Controller/RecordListController.php
- typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php 0 additions, 1 deletion...ackend/Classes/Controller/SiteConfigurationController.php
- typo3/sysext/backend/Classes/LinkHandler/PageLinkHandler.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/LinkHandler/PageLinkHandler.php
- typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php 1 addition, 2 deletions.../sysext/backend/Classes/RecordList/DatabaseRecordList.php
- typo3/sysext/core/Classes/DataHandling/PageDoktypeRegistry.php 0 additions, 4 deletions.../sysext/core/Classes/DataHandling/PageDoktypeRegistry.php
- typo3/sysext/core/Classes/DataHandling/SlugHelper.php 1 addition, 2 deletionstypo3/sysext/core/Classes/DataHandling/SlugHelper.php
- typo3/sysext/core/Classes/Domain/Repository/PageRepository.php 4 additions, 18 deletions.../sysext/core/Classes/Domain/Repository/PageRepository.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Configuration/TCA/pages.php 0 additions, 24 deletionstypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Documentation/Changelog/13.0/Breaking-101137-PageDoktypeRecyclerRemoved.rst 49 additions, 0 deletions...gelog/13.0/Breaking-101137-PageDoktypeRecyclerRemoved.rst
- typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf 0 additions, 3 deletions.../sysext/core/Resources/Private/Language/locallang_tca.xlf
- typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php 0 additions, 35 deletions...sext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 10 additions, 11 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 0 additions, 3 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php 0 additions, 4 deletionstypo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
Please register or sign in to comment