[BUGFIX] Correctly validate New Content Element entries 88/27588/4
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 17:53:58 +0000 (18:53 +0100)
commitb2372ee736e8409c8fb0cc483024a6532617ce29
treec6a3e92abd8a8142050b32b7ac592ab961f26941
parent548ba6f6cfda29031c5c0cb6fabe4d9c1624086a
[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/27588
Reviewed-by: Stefan Neufeind
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php