Project

General

Profile

Actions

Bug #55357

closed

TS Parser: Fix regression when having tabs in TS names

Added by Benni Mack almost 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
-
Start date:
2014-01-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

With the optimization of the TS parser (see #54856), it is not possible
to write TypoScript like this:

config {
    baseUrl            = www.mywebsite.com
    tx_realurl_enable    = 1
}

The problem is that the TS parser is not allowing tabs after the
TS object name (baseUrl). The fix strips away tabs after the TS.

This is how to test it:

Put this in your constants field of your TS template
(make sure to disable the T3editor)

config {
    baseUrl            = www.mywebsite.com
    tx_realurl_enable    = 1
}

and this in your setup area:

config.baseUrl = http://{$config.baseUrl}/

you can see if the constant is replaced in the
TypoScript Object Browser.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #54856: Optimize TypoScriptParserClosed2014-01-08

Actions
Actions

Also available in: Atom PDF