Project

General

Profile

Actions

Bug #93676

closed

Flexformfield "createNewRelationLinkTitle" when creating a flexform image is not trimmed

Added by Andreas Sturmberger about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2021-03-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Flexform
Complexity:
Is Regression:
Sprint Focus:

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

clipboard-202103081305-gymfl.png (3.2 KB) clipboard-202103081305-gymfl.png Andreas Sturmberger, 2021-03-08 12:05
clipboard-202103081306-1u8ji.png (7.3 KB) clipboard-202103081306-1u8ji.png Andreas Sturmberger, 2021-03-08 12:06
Actions #1

Updated by Gerrit Code Review about 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

Actions #2

Updated by Gerrit Code Review about 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

Actions #3

Updated by Gerrit Code Review about 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

Actions #4

Updated by Georg Ringer about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF