Bug #93699
closedbegroup pagetypes_select always has validation error
100%
Description
Since 10.4.13 it's not possible to add new page types to a backend group because checking any checkbox will result in a client-side validation error and block saving. See attached video.
Downgrading to 10.4.12 solves the issue. Related to #93574?
Files
Updated by Georg Ringer over 3 years ago
- Related to Bug #93574: TCA group db with minitems = 1 cannot be fulfilled added
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68311
Updated by Gerrit Code Review over 3 years ago
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/+/68318
Updated by Andreas Fernandez over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 21fb18554f5c58911972a697b3fa0c9a95f991be.
Updated by Jörn Wagner over 3 years ago
- File typo3_ticket93699.png typo3_ticket93699.png added
Andreas Fernandez wrote in #note-5:
Applied in changeset 21fb18554f5c58911972a697b3fa0c9a95f991be.
This change doesn't solve the problem for pagetypes_select though, because they have a value:
Updated by Andreas Kienast over 3 years ago
Alright, I see. The issue is not that the validation per-se is broken, but there is (for whatever reason) a limit of maximum 20 allowed items defined in TCA. A quickfix to solve this in your case is to override that specific TCA:
unset($GLOBALS['TCA']['be_groups']['pagetypes_select']['config']['maxitems']);
Updated by Jörn Wagner over 3 years ago
Andreas Fernandez wrote in #note-7:
Alright, I see. The issue is not that the validation per-se is broken, but there is (for whatever reason) a limit of maximum 20 allowed items defined in TCA. A quickfix to solve this in your case is to override that specific TCA:
Ah. We have like 35 custom page types. Thanks, I'll include that in case it ever breaks again.
Updated by Andreas Kienast over 3 years ago
- Related to Bug #93728: be_groups[pagetypes_select] allows up to 20 page types only added