Project

General

Profile

Actions

Bug #71729

closed

foreign_record_defaults stopped working inside columnsOverrides

Added by Rainer Becker over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-11-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Till version 7.4.0 (at least) it was possible to set foreign_record_defaults per type in TCA using columnsOverrides:

'threecols' => array(
  'columnsOverrides' => array(
    'contents_irre' => array(
      'config' => array(
      'foreign_record_defaults' => array(
        'CType' => 'threecols_item',
       ),
    ),
  ),
)

After updating to 7.6.0 this stopped working, CType is not set in inline record.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #76671: columnsOverrides does not affect newly added inline elementsClosed2016-06-17

Actions
Actions #1

Updated by Christian Kuhn over 8 years ago

  • Status changed from New to Rejected
  • % Done changed from 0 to 100

Yes. Do not rely on overriding inline child TCA with columnsOverrides. This may work later, but it is currently not a directly supported feature.

Actions #2

Updated by Rainer Becker over 8 years ago

Ok. Is there another way to predefine the type of new inline records?
In my case they are several content types with sub-records; CType "A" neeeds inline records of CType "A-sub", "B" needs "B-sub" and so on.
Since the subtype is defined by parent type I dont want to bother the editors with the selection of the proper CType.

Actions

Also available in: Atom PDF