[BUGFIX] Respect TCA type `group` as `foreign_selector`
It's now possible to use a TCA type `group` field as `foreign_selector` together with the `useCombination` functionality. The corresponding "child child table" information is in this case fetched from the `allowed` option. Side note: Using TCA type `group` for a `foreign_selector` field is not really documented, but it's also not forbidden. Actually, it's a valid use case and also working quite well as the new styleguide examples demonstrate. However, the documentation should be adjusted to mention that only one table can be defined in `allowed` for such fields. Resolves: #102904 Releases: main, 12.4 Change-Id: Icdde6a8acb1fb9166da8e6259758f6bf64d6c41f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82721 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php 18 additions, 4 deletions...t/backend/Classes/Controller/FormInlineAjaxController.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php 17 additions, 3 deletions...ysext/backend/Classes/Form/FormDataProvider/TcaInline.php
- typo3/sysext/core/Documentation/Changelog/12.4.x/Important-102904-UseTCAGroupFieldAsForeignSelector.rst 80 additions, 0 deletions....x/Important-102904-UseTCAGroupFieldAsForeignSelector.rst
- typo3/sysext/styleguide/Classes/TcaDataGenerator/FieldGenerator/TypeInlineUsecombinationGroup.php 114 additions, 0 deletions...enerator/FieldGenerator/TypeInlineUsecombinationGroup.php
- typo3/sysext/styleguide/Classes/TcaDataGenerator/FieldGenerator/TypeInputDynamicTextWithRecordUid.php 1 addition, 0 deletions...ator/FieldGenerator/TypeInputDynamicTextWithRecordUid.php
- typo3/sysext/styleguide/Classes/TcaDataGenerator/FieldGeneratorResolver.php 2 additions, 0 deletions...guide/Classes/TcaDataGenerator/FieldGeneratorResolver.php
- typo3/sysext/styleguide/Classes/TcaDataGenerator/Generator.php 1 addition, 1 deletion.../sysext/styleguide/Classes/TcaDataGenerator/Generator.php
- typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_inline_usecombinationgroup.php 105 additions, 0 deletions...guration/TCA/tx_styleguide_inline_usecombinationgroup.php
- typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_inline_usecombinationgroup_child.php 81 additions, 0 deletions...on/TCA/tx_styleguide_inline_usecombinationgroup_child.php
- typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_inline_usecombinationgroup_mm.php 94 additions, 0 deletions...ation/TCA/tx_styleguide_inline_usecombinationgroup_mm.php
- typo3/sysext/styleguide/ext_tables.sql 4 additions, 0 deletionstypo3/sysext/styleguide/ext_tables.sql
Please register or sign in to comment