Bug #102725
openAuto creation of MM tables from TCA doesn't generate column tablenames
0%
Description
I tried to set a group field in TCA with more tables in "allowed" as a MM relation, but it did not generate the "tablenames"-column in the MM table, what ended in an error.
I had to ad 'MM_oppositeUsage' => ['uid_local' => 'uid'] to get that solved, but I don't think that should be necessary.
Files
Updated by Christian Weiske 7 months ago
We also see this bug with TYPO3 11.5.33.
Updated by Garvin Hicking 4 months ago
- Category set to Database API (Doctrine DBAL)
(Not sure if "Database API" is the best fit for this, but we have no distinct "TCA" category in the issue tracker)
The docs do not indicate that MM_oppositeUsage is a mandatory field, so I think this needs inspection.
Updated by J. Peter M. Schuler 2 months ago
Can confirm that this happens on latest 11LTS (11.5.39) and latest 12LTS (12.4.20), too.
Can confirm that adding the docs-optional MM_oppositeUsage
with the default value of ['uid_local' => 'uid']
resolves the problem in 11LTS and 12LTS.
(big thx for mentioning this hotfix!)