Project

General

Profile

Bug #98322

Updated by David Bruchmann over 1 year ago

This code (of EXT:blog_example, table tx_blogexample_domain_model_person) should autocreate an mm-table with the field `fieldname` but it doesn't. The table is created but without that field. 

 <pre> 
         'tags' => [ 
             'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xlf:tx_blogexample_domain_model_person.tags', 
             'config' => [ 
                 'type' => 'inline', 
                 'foreign_table' => 'tx_blogexample_domain_model_tag', // needed by Extbase 
                 'MM' => 'tx_blogexample_domain_model_tag_mm', 
                 'MM_match_fields' => [ 
                     'fieldname' => 'tags', 
                 ], 
                 'appearance' => [ 
                     'useCombination' => 1, 
                     'useSortable' => 1, 
                     'collapseAll' => 1, 
                     'expandSingle' => 1, 
                 ], 
             ], 
         ], 
         'tags_special' => [ 
             'exclude' => true, 
             'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xlf:tx_blogexample_domain_model_person.tags_special', 
             'config' => [ 
                 'type' => 'inline', 
                 'foreign_table' => 'tx_blogexample_domain_model_tag', // needed by Extbase 
                 'MM' => 'tx_blogexample_domain_model_tag_mm', 
                 'MM_match_fields' => [ 
                     'fieldname' => 'tags_special', 
                 ], 
                 'appearance' => [ 
                     'useCombination' => 1, 
                     'useSortable' => 1, 
                     'collapseAll' => 1, 
                     'expandSingle' => 1, 
                 ], 
             ], 
         ], 
 </pre>

Back