Bug #93676
closedFlexformfield "createNewRelationLinkTitle" when creating a flexform image is not trimmed
100%
Description
Flexform configuration (working)
<settings.image>
<TCEforms>
<label>
LLL:EXT:seam_template/Resources/Private/Language/locallang_db.xlf:plugins.ulme.image
</label>
<config>
<type>inline</type>
<minitems>1</minitems>
<maxitems>1</maxitems>
<foreign_table>sys_file_reference</foreign_table>
<foreign_table_field>tablenames</foreign_table_field>
<foreign_label>uid_local</foreign_label>
<foreign_sortby>sorting_foreign</foreign_sortby>
<foreign_field>uid_foreign</foreign_field>
<foreign_selector>uid_local</foreign_selector>
<appearance type="array">
<createNewRelationLinkTitle>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle>
</appearance>
</config>
</TCEforms>
</settings.image>
Flexform configuration (not working):
<settings.image>
<TCEforms>
<label>
LLL:EXT:seam_template/Resources/Private/Language/locallang_db.xlf:plugins.ulme.image
</label>
<config>
<type>inline</type>
<minitems>1</minitems>
<maxitems>1</maxitems>
<foreign_table>sys_file_reference</foreign_table>
<foreign_table_field>tablenames</foreign_table_field>
<foreign_label>uid_local</foreign_label>
<foreign_sortby>sorting_foreign</foreign_sortby>
<foreign_field>uid_foreign</foreign_field>
<foreign_selector>uid_local</foreign_selector>
<appearance type="array">
<createNewRelationLinkTitle>
LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference
</createNewRelationLinkTitle>
</appearance>
</config>
</TCEforms>
</settings.image>
The difference is that the value of "createNewRelationLinkTitle" is surrounded by breaks (or spaces) and therefore is not parsed correctly.
f.e. the "label" field works as exptected
maybe there are other cases where this doesnt work...
PS: didn't know which category i should put this bug, sorry for that.
Files
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68255
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68255
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68314
Updated by Georg Ringer over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 197fdcc3c8c726b48ee6ac3d5533a7784c7d2610.