[BUGFIX] Correctly validate New Content Element entries 07/28307/3
authorLudwig Rafelsberger <ludwig.rafelsberger@gmx.at>
Wed, 12 Feb 2014 19:36:09 +0000 (20:36 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Wed, 12 Mar 2014 18:22:17 +0000 (19:22 +0100)
commitd405041c4286030045ecf1b778c643f47414e5c2
tree420cd4b1725e1775ca2dcb59fce73714289405c1
parent06e5ad92251afd8b0cbd0f77cf9395116586f13a
[BUGFIX] Correctly validate New Content Element entries

Each entry in the New Content Element wizard is tested to be valid,
i.e. the tt_content_defValues defined by that entry must be allowed
for the current BE user. Also, an entry may not select values that are
removed via TSconfig.

Setting TCEFORM.tt_content.[column].keepItems acts as a whitelist of
allowed values for *that* column. But the validity checks are done
hardcoded against the *CType* column.

Resolves: #23864
Releases: 6.2, 6.1
Change-Id: I5b6578f35552bd571fc822ac72f8f5fe12fe11f7
Reviewed-on: https://review.typo3.org/28307
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php