Issue Bug Under Review

#95311foreign_match_fields affects copy of inline records (IRRE)

Henrik Elsner 09/22/21, 12:21 updated 11/14/26, 19:03

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