Project

General

Profile

Actions

Task #6249

closed

Support for TCA fields of type "group" - allowes DAM support (has patch)

Added by Franz Koch almost 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2010-01-27
Due date:
% Done:

70%

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

Description

Hi, extbase currently doesn't support TCA fields of type "group" natively. A easy workaround currently is to additionally define a "foreign_table" in your columns configuration together with a MM relation of course (no comma separated lists).

But unfortunately this little trick doesn't work together with DAM relations and probably some other multicolumn relations, because DAM itself is not configuring all MM_match_fields (tablenames missing by default) and is letting TYPO3 do the job of filling in the correct 'tablenames' match fields in MM relations. This patch is a first attempt to do in extbase the same as TYPO3 does in the backend. So with this patch you get:

- native support of group fields (type: group, interal_type: db, allowed: onlyOneTableNameSoFar)
- handling of multi-table relations like the CORE of TYPO3 does (adding tablenames if needed)

With this patch applied, DAM relations will work by default.

What will not work:
Retrieving/persisting objects to multiple tables for a single db field (so more then one allowed relation table, like the RECORDS CType of TYPO3 is using). To support this, some major rework is needed I think, that should/could be done together with singleTableInheritance.


Files


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #48568: Relation table match fields not respected for relation tablesClosed2013-05-27

Actions
Is duplicate of TYPO3 Core - Bug #62277: TCA > Config > type group - foreign_table necessary for extbase to workNew2014-10-16

Actions
Actions

Also available in: Atom PDF