[BUGFIX] Do not manipulate minitems/maxitems 51/48451/2
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:20:13 +0000 (10:20 +0200)
commit06697b4454bcfb9d9d2c84650a776661ee986290
tree2a406dc725067b3724aef8b711d71e8f948e5f0b
parenta8adce7927c3723bfab8dcc21d53127ee9d6a6c0
[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/48451
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Form/AbstractNode.php