Bug #96444
closedselectCheckBox: Not possible to use descriptions and authMode simultaneously anymore
100%
Description
Since the introduction of itemGroups in TYPO3 v10, the index for descriptions has shifted from 3 to 4.
Before that, the index 4 was used for the authMode option, to explicitly deny or allow single items.
Now the index 4 is used for two completely separate purposes.
Example:
'select_checkbox_1' => [
'exclude' => 1,
'label' => 'select_checkbox_1 description',
'description' => 'field description',
'config' => [
'type' => 'select',
'renderType' => 'selectCheckBox',
'authMode' => 'individual',
'items' => [
['foo 1', 1, '', '', 'EXPL_ALLOW'],
['foo 2', 2, '', '', 'Description2'],
['foo 3', 3, '', '', 'Description3'],
],
],
],
When the first item is visble for the editor, the description will be "EXPL_ALLOW", which is not desireable. There is no way to define another description either, because the index is already occupied.
Updated by Nikita Hovratov almost 3 years ago
- Related to Feature #91008: Add grouping and sorting for TCA select items added
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72820
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72820
Updated by Gerrit Code Review almost 3 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72820
Updated by Gerrit Code Review almost 3 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72820
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72877
Updated by Nikita Hovratov almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 362b74f93dc5f5fce524c18ae4d6720e8add2229.
Updated by Gerrit Code Review almost 3 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72857
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72877
Updated by Nikita Hovratov almost 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset dd291132d7414a6914ed5ab31c2bb32df88addef.