[BUGFIX] FormEngine: formattedLabel_userFunc_options overrides foreign_label 78/44978/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 27 Nov 2015 13:28:37 +0000 (14:28 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 28 Nov 2015 19:47:06 +0000 (20:47 +0100)
commit5e8e1cb4c0ebc0e42d28272c3ab43122a174eddb
treef0c4b64ba4a4c6806164b89d8c5416aedb94e051
parent50ec6ced1254038fdb8d54672bd955106301cd04
[BUGFIX] FormEngine: formattedLabel_userFunc_options overrides foreign_label

Change the order in which the record title for inline records is
determined. As with normal records the userFunc should override the
plain label. Inline records use the special formattedLabel_userFunc
instead of a normal userFunc.

Resolves: #71879
Releases: master
Change-Id: Iaa04530535c109c010f92ac85f8c95952538d2ae
Reviewed-on: https://review.typo3.org/44978
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRecordTitle.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php