#102725Auto creation of MM tables from TCA doesn't generate column tablenames
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.
Reviews 5
- 13.4 87335[TASK] Add styleguide field generator for group with MM
- main 87333[TASK] Add styleguide field generator for group with MM
- 12.4 87310[BUGFIX] Add MM tablename and fieldnames fields with group/allowed
- 13.4 87309[BUGFIX] Add MM tablename and fieldnames fields with group/allowed
- main 87307[BUGFIX] Add MM tablename and fieldnames fields with group/allowed
Related issues 2
Files 1
History 913
-
Christian Weiske commented <span data-processor="relativetime" data-value="2024-04-22T09:08:08+00:00" > 04/22/24, 09:08 </span>
-
Garvin Hicking commented and changed category <span data-processor="relativetime" data-value="2024-07-31T10:01:13+00:00" > 07/31/24, 10:01 </span>
(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.
-
J. Peter M. Schuler commented <span data-processor="relativetime" data-value="2024-09-11T08:44:01+00:00" > 09/11/24, 08:44 </span>
Can confirm that this happens on latest 11LTS (11.5.39) and latest 12LTS (12.4.20), too.
Can confirm that adding the docs-optionalMM_oppositeUsagewith the default value of['uid_local' => 'uid']resolves the problem in 11LTS and 12LTS.(big thx for mentioning this hotfix!)
-
Christian Kuhn changed Related to #102586 <span data-processor="relativetime" data-value="2024-11-27T14:21:29+00:00" > 11/27/24, 14:21 </span>
-
Christian Kuhn changed
Related to #102586<span data-processor="relativetime" data-value="2024-11-27T14:21:40+00:00" > 11/27/24, 14:21 </span> -
Gerrit Code Review pushed patch set 1 for main to change 87307 status
NewUnder Review <span data-processor="relativetime" data-value="2024-12-02T15:29:21+00:00" > 12/02/24, 15:29 </span> -
Gerrit Code Review pushed patch set 2 for main to change 87307 <span data-processor="relativetime" data-value="2024-12-02T17:25:46+00:00" > 12/02/24, 17:25 </span>
-
Christian Kuhn changed Related to #95061 <span data-processor="relativetime" data-value="2024-12-02T17:26:36+00:00" > 12/02/24, 17:26 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 87309 <span data-processor="relativetime" data-value="2024-12-02T17:37:49+00:00" > 12/02/24, 17:37 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 87310 <span data-processor="relativetime" data-value="2024-12-02T17:43:27+00:00" > 12/02/24, 17:43 </span>
-
Christian Kuhn commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2024-12-02T18:40:12+00:00" > 12/02/24, 18:40 </span>Applied in changeset commit:c1ee76d8b4acdc0782da8934c35cd33d322fa8dd.
-
Anja Leichsenring changed Related to #105746 <span data-processor="relativetime" data-value="2024-12-03T10:03:27+00:00" > 12/03/24, 10:03 </span>
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:37:05+00:00" > 12/02/25, 14:37 </span>
We also see this bug with TYPO3 11.5.33.