Issue Feature Closed

#51025Rewrite of "old-style" string relations

Gabriel Kaufmann TYPOworx GmbH | NewMedia 08/12/13, 11:14 updated 01/06/23, 12:34

Description

TYPO3 uses a lot of string-relations like “pages_33” ([TABLE]_[UID]) which are not state of modern coding style.

Instead TYPO3-Core could introduce a unified table for relations that is working similar to MM-Tables:

tx_relations
(String) table | (int) uid_local | (int) uid_foreign

Instead of the string-relation the TCA-Field of type “DB” or “Group” currently using this relation type should write a reference-uid to the tx_relations-table.

TYPO3 Core code that is currently using the old explode code to process string-relations should be replaced with a new t3lib-method either solving the relation with an internal query (returning the final result) or building a join-query to extend an existing query prepared for the final result.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.