Bug #17442

Default values defined in TCA not used in IRRE children

Added by Joscha Feth about 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-07-06
Due date:
% Done:

0%

TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I want the standard doktype of an inlined page (pages-Table) to be Advanced (2).
Therefore I used

$TCA["pages"]["columns"]["doktype"]['config']['default'] = 2;

When I now create a new page the normal way (list view, etc.) the form will be the default form of an advanced page (doktype=2).
When I do the same by IRRE within a new element, the doktype still is Standard (1).

(issue imported from #M5906)

0005906.patch View (500 Bytes) Administrator Admin, 2007-07-30 09:51


Related issues

Related to TYPO3 Core - Feature #17156: Define type of child record Accepted 2007-03-27
Duplicated by TYPO3 Core - Bug #17546: Default values not used in IRRE children Closed 2007-08-21

History

#1 Updated by Oliver Hader about 12 years ago

The attached patch should solve this problem on new records. Please test and gimme a short feedback. Thanks!

#2 Updated by Joscha Feth about 12 years ago

Patch works.

#3 Updated by Oliver Hader about 12 years ago

Committed to SVN:
  • TYPO3_4-1 (rev. 2482)
  • Trunk (rev. 2483)

Also available in: Atom PDF