Project

General

Profile

Actions

Bug #55357

closed

TS Parser: Fix regression when having tabs in TS names

Added by Benni Mack about 10 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Accepted 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/27069

Actions #2

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

Actions #3

Updated by Benni Mack about 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF