Actions
Bug #98323
closedauto creation of table isn't done if options never fit exact needs
Start date:
2022-09-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
tca table-auto-creation
Complexity:
Is Regression:
Sprint Focus:
Description
Having a configuration like this:
'related_posts' => [ 'exclude' => true, 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xlf:tx_blogexample_domain_model_post.related', 'config' => [ 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'size' => 10, 'autoSizeMax' => 30, 'multiple' => 0, 'foreign_table' => 'tx_blogexample_domain_model_post', 'foreign_table_where' => 'AND ###THIS_UID### != tx_blogexample_domain_model_post.uid', 'MM' => 'tx_blogexample_post_post_mm', 'MM_opposite_field' => 'related_posts', ], ],
the table isn't created.
The culprit here is the option 'MM_opposite_field', removing it, it works like expected.
Actions