[BUGFIX] Create workspace label placeholder that matches field conditions 35/22935/11
authorSascha Egerer <sascha.egerer@dkd.de>
Wed, 7 Aug 2013 17:10:04 +0000 (19:10 +0200)
committerSascha Egerer <sascha@sascha-egerer.de>
Wed, 2 Jul 2014 07:25:12 +0000 (09:25 +0200)
commitea61ec7ea9af8d4d8a57ef21086732463bf90a2b
tree0d48d867e31afa96e42b35f58dbf582dac6a413a
parent524ead974a05ac343b2792237feccd3e82aab2dd
[BUGFIX] Create workspace label placeholder that matches field conditions

If a workspace placeholder record is generated the field, that
is configured as label for a table, is filled with a placeholder.
This is a hardcoded string.
If database field does not allow strings (integer, double...)
a TYPO3 warning is displayed. "... Propably value mismatch ...".
This message is very confusing because the user does not know
where it comes from.

The label should be evaluated against the TCA eval configuration
before it is written to the database.

Resolves: #31757
Releases: 6.3, 6.2, 6.1
Change-Id: I18261359550dcaddaa9bd9ca0dd77f8300e81da9
Reviewed-on: https://review.typo3.org/22935
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php