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 #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72181

Actions #2

Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72181

Actions #3

Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72181

Actions #4

Updated by Anja Leichsenring about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF