#95311foreign_match_fields affects copy of inline records (IRRE)
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.
Reviews 1
History 01
-
Gerrit Code Review pushed patch set 1 for main to change 97665 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-14T19:03:20+00:00" > 11/14/26, 19:03 </span>