[TYPO3-mvc] Support for TCA select multiple

Philipp Wrann philippwrann at gmail.com
Thu Jul 23 14:02:34 CEST 2015


No, thats not possible because the object would have the same identity and if its attached to a storage (where it is allready located in) nothing would happen.

You need to save the relation in an mm table and map that table to the model - like it is done with sys_file_reference.

1) Set up MM relation via TCA (u need a MM relation with uid)
2) name the MM Table something like tx_package_domain_model_fooassignment
3) tag the property value like \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\Vendor\Package\Domain\Model\FooAssignment>

..


More information about the TYPO3-project-typo3v4mvc mailing list