Bug #84505
closedThe list of tables in the recycler scheduler ignores all tables (except the last one) with duplicate titles
100%
Description
The scheduler task of EXT:recycler
ignores tables with the same title.
The problem is sysext/recycler/Classes/Task/CleanerFieldProvider.php
on line 77 (location from TYPO3 8.7.11) where the TCA title is the array key - later tables with the same title will overwrite previous ones.
But in big TYPO3 setups it is pretty common to have multiple tables with the same title, especially on "trivial" tables, for eample "News", "Link", etc. This is perfectly fine for multiple reasons: A table can be visible only on specific trees (via TSconfig) and thus have the same title as another one, it can have historical reasons to have the same title for different tables, or different 3rd party extension can provide tables with the same title (which is very hard to influence). However, in these situations, the recycler scheduler job will simply ignore these tables.
The field provider and task classes must be adjusted, so that the table name itself is the array key instead of its title label.
Found in TYPO3 v8, but probably present in v7 as well.