Project

General

Profile

Actions

Bug #95311

open

foreign_match_fields affects copy of inline records (IRRE)

Added by Henrik Elsner over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2021-09-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Everything that follows is based on BE testing and an assumption:

It seems like the config `foreign_match_fields` affects the copy process of inline records.
We have a content element setup with a inline record, which changes its type depending on the CType

The issue:
When copying the element, the inline records are not copied.
When copying the whole page, the inline records are added to the original element instead of the element that got created on the newly pasted page.

Example:
CType: horizonal_teaser --- inline record with field "type" = horizontal
CType: vertical_teaser --- inline record with field "type" = vertical

The type field equals the TCA "types" declaration, that displays the fields etc.
As we reuse the field we add the `foreing_match_fields`.
The config is provided via `columnsOverrides`.

Guess the best testcase would be a setup via EXT:styleguide, as i cannot provide the full setup here.

No data to display

Actions

Also available in: Atom PDF