Bug #25003

tcaTree: minitems and maxitems don't work well

Added by Stefano Cecere over 2 years ago. Updated 3 months ago.

Status:Under Review Start date:2011-02-11
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:-
Target version:-
TYPO3 Version:4.5 Complexity:
PHP Version:5.2
Votes: 0

Description

developing extension with tcatree field
(tested both safari and FF)

two bugs:

1) the minitems seems to not be considered (if minitems = 1 i can save the record even if nothing is cehcked)

2) maxitems: example maxitems = 3: if i check 3 items, and then uncheck one, i can't check anything else anymore (seems JS error, but JS console tell no error. when i save the record the selected checkbox are not saved.

PS: i tested also with ext news2 (which uses tcatree for category selection)

(issue imported from #M17545)


Related issues

related to Core - Bug #35710: minitems and maxitems for tcaTree Closed 2012-04-05

Associated revisions

Revision 9478e552
Added by Georg Ringer over 1 year ago

[BUGFIX] Check minitems for TCAtree

The TCAtree ignores currently the minitems.
This is however e.g. needed to require input for a relation field.

Change-Id: Id972b0e065adf7e0702a8d8f85c469c7fe9ac827
Resolves: #25003
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7662
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter

Revision 053fa547
Added by Georg Ringer about 1 year ago

[BUGFIX] Check minitems for TCAtree

The TCAtree ignores currently the minitems.
This is however e.g. needed to require input for a relation field.

Change-Id: Id972b0e065adf7e0702a8d8f85c469c7fe9ac827
Resolves: #25003
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7661
Reviewed-by: Steffen Ritter
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers

Revision 0d77b862
Added by Georg Ringer 3 months ago

[BUGFIX] Check minitems for TCAtree

The TCAtree ignores currently the minitems.
This is however e.g. needed to require input for a relation field.

Change-Id: I41b345f19f845a8b31e791c11a7c4a907d499ad5
Resolves: #25003
Releases: 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/12797
Reviewed-by: Wouter Wolters
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader

History

Updated by Stefano Cecere over 2 years ago

bug related to the (closed?) http://bugs.typo3.org/view.php?id=16276

Georg in core list says that it wasn't solved

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7661

Updated by Gerrit Code Review over 1 year ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7662

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7661

Updated by Georg Ringer over 1 year ago

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

Updated by Gerrit Code Review 10 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12797

Updated by Gerrit Code Review 10 months ago

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12797

Updated by Georg Ringer 3 months ago

  • Status changed from Under Review to Resolved

Updated by Gerrit Code Review 3 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5_new has been pushed to the review server.
It is available at https://review.typo3.org/18706

Also available in: Atom PDF