[BUGFIX] Do not manipulate minitems/maxitems 15/48415/4
authorMarkus Klein <markus.klein@typo3.org>
Tue, 31 May 2016 10:19:47 +0000 (12:19 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Sun, 5 Jun 2016 08:19:48 +0000 (10:19 +0200)
commit57a7f76f0a7a958eb3c5c144fc29d46bc477c9c7
tree234e85f720dc2de7a9a94cad60897d913b6868c1
parent8567387cd557456fccac7430a14e9ea2b41b3523
[BUGFIX] Do not manipulate minitems/maxitems

We must only manipulate minitems and maxitems for valdiation
when we have a select-field with renderType selectTree.
The existing check is not enough, since it lacks the check
for the actual type and applies the changes also if
any other type is used and minitems=maxitems=1.

Resolves: #76388
Releases: master, 7.6
Change-Id: I9697521a710c3debc49f40c2c4db87baac8f2d97
Reviewed-on: https://review.typo3.org/48415
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Form/AbstractNode.php