[BUGFIX] Create workspace label placeholder that matches field conditions 83/31283/2
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:55:40 +0000 (09:55 +0200)
commitdfcec4de2512694efd5b231382868535e0d862ff
treee464bb3f54075ee128962356b9777b158cb481e4
parent2e60690d0ac357056b47e851ee5cad060b3d1996
[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/31283
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