Project

General

Profile

Actions

Bug #84505

closed

The list of tables in the recycler scheduler ignores all tables (except the last one) with duplicate titles

Added by S P over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Recycler
Target version:
-
Start date:
2018-03-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF