Project

General

Profile

Actions

Bug #25820

closed

maxitems is not working correctly in tcaTree

Added by Rens Admiraal about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-04-07
Due date:
% Done:

100%

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

Description

When I configure a maxitems property it does not behave like expected.

Let's say maxitems is 1, and 1 value is selected already. Expected behaviour: you've to unselect the item before you can select a new one. The behaviour is: you can only unselect the item, and can't do anything else.

Let's say maxitems is 2, and 1 value is selected already: Expected behaviour, you can select a new item and have to unselect one before you can select another. Actual behaviour: you can unselect the current value, and select one new value. After that no selection is possible anymore.

It seems the counter is not reset after deselecting an item.

Steffen Kamper already has a fix ready, which is verified to work...


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #25347: TCA type "select", renderMode "tree", maxitems = 1 doesn't workClosed2011-03-16

Actions
Actions #1

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change Idaf8a41fd071fc01955246f040b3ddab5be24208 has been pushed to the review server.
It is available at http://review.typo3.org/1510

Actions #2

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change Id7d7c4651068e9891bad48e7a966febeb1d704f4 has been pushed to the review server.
It is available at http://review.typo3.org/1511

Actions #3

Updated by Steffen Kamper about 13 years ago

  • Status changed from New to Under Review
  • Target version set to 4.5.3
  • % Done changed from 0 to 100
Actions #4

Updated by Mr. Hudson about 13 years ago

Patch set 2 of change Idaf8a41fd071fc01955246f040b3ddab5be24208 has been pushed to the review server.
It is available at http://review.typo3.org/1510

Actions #5

Updated by Marco Huber about 13 years ago

  • Status changed from Under Review to Resolved
Actions #6

Updated by Oliver Hader almost 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF