Project

General

Profile

Actions

Feature #51025

closed

Rewrite of "old-style" string relations

Added by Gabriel Kaufmann / Typoworx NewMedia over 11 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2013-08-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions

Also available in: Atom PDF