Project

General

Profile

Actions

Bug #48943

closed

Tree minitems bug if maxitems = 1

Added by Nicolas Forgeot almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2013-06-07
Due date:
% Done:

100%

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

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #31637: Unselectable items with renderMode=treeClosed2011-11-07

Actions
Actions #1

Updated by Alexander Bigga almost 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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by Anonymous almost 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF