Bug #48943
closedTree minitems bug if maxitems = 1
100%
Description
Minitems not working if maxitems of tree is 1.
Restriction work if I select then unselect a element of tree. But I can save my content before.
It's work fine if maxitems is 2 or great.
Updated by Alexander Bigga about 10 years ago
This problem exists in 4.7.19, 6.1.9 and 6.2.3 (haven't tried with 4.5.x).
Example from slub_events:
'config' => array( 'type' => 'select', 'foreign_table' => 'tx_slubevents_domain_model_location', 'foreign_table_where' => ' AND (tx_slubevents_domain_model_location.sys_language_uid = 0 OR tx_slubevents_domain_model_location.l10n_parent = 0) AND tx_slubevents_domain_model_location.pid = ###CURRENT_PID### AND tx_slubevents_domain_model_location.deleted = 0 AND tx_slubevents_domain_model_location.hidden = 0 ORDER BY tx_slubevents_domain_model_location.sorting', 'renderMode' => 'tree', 'subType' => 'db', 'treeConfig' => array( 'parentField' => 'parent', 'appearance' => array( 'expandAll' => FALSE, 'showHeader' => FALSE, 'allowRecursiveMode' => FALSE, 'width' => 500 ), ), 'size' => 10, 'autoSizeMax' => 30, 'minitems' => 1, 'maxitems' => 1, ),
This may be related to #31637
Updated by Gerrit Code Review about 10 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/31171
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31171
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31480
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31481
Updated by Anonymous about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 10b853dc9a312103afd5902e91f1c82ed0cc3860.