Bug #95986
closedStory #95949: Split functional test extensions into smaller pieces
TCA for table tx_irretutorial_1nff_hotel misses foreign_match_field definition for tt_content field
100%
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.
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
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
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
Updated by Anja Leichsenring about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f5e48b3e41a14c4edc8c9bd5cb84e2d0047deefe.