Bug #101179
closedExtensionManagementUtility::addTcaSelectItem() ignoring 4th array-argument for item-group
0%
Description
I've tried to use ExtensionManagementUtility::addTcaSelectItem()
to register custom CType with item-group for CType Select. But obviously this argument is ignored and not passed to TYPO3 TCA:
ExtensionManagementUtility::addTcaSelectItemGroup( 'tt_content', 'CType', 'my-group', 'LLL:EXT:my_slider_mixtape/Resources/Private/Language/locallang_tca.xlf:tt_content.group.sliders' ); ExtensionManagementUtility::addTcaSelectItem( 'tt_content', 'CType', [ // title 'My custom CType', // plugin signature: extkey_identifier 'custom_ctype' // icon identifier 'custom-icon, // CType ItemGroup 'my-group', ], );
Refering to the docs for this feature it should work like this:
https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/Select/Properties/ItemGroups.html
Updated by Oliver Bartsch 9 months ago
- Status changed from New to Needs Feedback
Hi, I just checked this with your provided configuration and I was not able to reproduce any bug on current main. The group as well as the new CType is added as expected. Could you please check again, whether the issue still exists for you?
Best, Oli
Updated by Gabriel Kaufmann / Typoworx NewMedia 7 months ago
Oliver Bartsch wrote in #note-1:
Hi, I just checked this with your provided configuration and I was not able to reproduce any bug on current main. The group as well as the new CType is added as expected. Could you please check again, whether the issue still exists for you?
Best, Oli
Thanks for checking. Well the project I had this issue has already past. I think if I would have solved it in past days when posting this issue, I would had reported it here and already closed the issue.
Don't know anymore how I solved it or if I left ignoring the problem. At this point I only can approve in closing this issue, until I may have the issue again.
Updated by Oliver Bartsch 7 months ago
- Status changed from Needs Feedback to Closed
Hi,
thanks for your feedback. So I'll close this issue as requested. Feel free to contact me in case you encounter this or a similar problem again. Otherwise you can also create a new issue with reference to this one.
Best, Oli