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 Stefan P about 6 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review about 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56403

Actions #2

Updated by Gerrit Code Review about 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56403

Actions #3

Updated by Gerrit Code Review about 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56407

Actions #4

Updated by Georg Ringer about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF