Project

General

Profile

Actions

Bug #95986

closed

Story #95949: Split functional test extensions into smaller pieces

TCA for table tx_irretutorial_1nff_hotel misses foreign_match_field definition for tt_content field

Added by Anja Leichsenring about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
-
Start date:
2021-11-15
Due date:
% Done:

100%

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

Description

ext:irre_tutorial ships with a setup to test inline relations with foreign_field definition. This setup is bound to a tt_content field on the one hand, and as a flexform definition on the other hand.
The flexform configuration has a foreign_match_fields definition applied, while tt_content setup has not. This leads to flexform references being applied to tt_content field, too, but not vice versa.
So when a flexform relation existed, it was valid for the tt_content fields as well.

Especially in test setups, explicit, unique and valid configuration is imperative to provide stable and reliable tests. To resolve this implicit relation recyling, the tt_content configuration requires a foreign_match_field definition with a different value.

Actions

Also available in: Atom PDF