[TYPO3-mvc] Using foreign_selector in inline TCA configuration, breaking model
Andreas Kiessling
andreas.kiessling at web.de
Tue Mar 26 20:06:52 CET 2013
Hi,
Am 26.03.13 15:06, schrieb Arjen Hoekema:
> Hi Søren,
>
> I came across this bugfix: https://review.typo3.org/18960
>
> But I can't seem to find the related issue in the Extbase issue tracker :-(
> I recently solved this by enabling the "foreign_selector" when the
> TYPO3_MODE is set to 'BE' in my TCA file as a workaround:
>
> if (TYPO3_MODE == 'BE') {
> $TCA[<table>]['columns'][<col>]['config']['foreign_selector'] =
> '<field>';
> }
>
but that will fail for backend modules.
You can also set the foreign_selector fom pageTS, which IRRE parses, but
Extbase doesn't. (At least with 4.7, this "hack" still worked)
TCEFORM.tx_your_table.your_local_field.config {
foreign_selector = your_foreign_field
}
Found that workaround almost 3 years ago :)
http://forum.typo3.org/index.php?t=msg&th=148726&goto=514590&#msg_514590
HTH,
Andreas
More information about the TYPO3-project-typo3v4mvc
mailing list