Project

General

Profile

Actions

Bug #71318

closed

Label in flexforms are not resolved if XML contains whitespace around the references

Added by Markus Klein about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-11-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

Using a flexform like

<numIndex index="2" type="array">
    <numIndex index="0">
        LLL:EXT:rx_shariff/Resources/Private/Language/locallang_be.xlf:flexforms_general.theme.white
    </numIndex>
    <numIndex index="1">white</numIndex>
</numIndex>

will cause the output to contain the label reference instead of the real label.

This is due to the reason that the XML parser passes on the whitespace, hence the output has to be trimmed first before resolving the labels.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #72581: Language key was not translated if there are spaces in front/backClosed2016-01-08

Actions
Actions #1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Accepted to Under Review

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/44534

Actions #2

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44534

Actions #3

Updated by Markus Klein about 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF