Project

General

Profile

Actions

Bug #96444

closed

selectCheckBox: Not possible to use descriptions and authMode simultaneously anymore

Added by Nikita Hovratov over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-12-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #91008: Add grouping and sorting for TCA select itemsClosedBenni Mack2020-04-12

Actions
Actions #1

Updated by Nikita Hovratov over 2 years ago

  • Related to Feature #91008: Add grouping and sorting for TCA select items added
Actions #2

Updated by Gerrit Code Review over 2 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

Actions #3

Updated by Gerrit Code Review over 2 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

Actions #4

Updated by Gerrit Code Review over 2 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

Actions #5

Updated by Gerrit Code Review over 2 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

Actions #6

Updated by Gerrit Code Review over 2 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

Actions #7

Updated by Nikita Hovratov over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Gerrit Code Review over 2 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

Actions #9

Updated by Gerrit Code Review over 2 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

Actions #10

Updated by Nikita Hovratov over 2 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF