Project

General

Profile

Actions

Bug #65997

closed

Typoscript causing TCA Error - but not under all circumstances

Added by Urs Braem about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2015-03-24
Due date:
% Done:

0%

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

Description

Hi

I am not sure if this is a bug. It cost me a lot of sweat today.

I received the Exception http://wiki.typo3.org/Exception/CMS/1283790586 when deploying a seemingly upgraded 6.2 (ex 4.5 site) to the live system.

There was extremely legacy TypoScript in this site,

temp.item =CONTENT
[globalVar = LIT:1 = {$constant}]
temp.item {
}
[global]

This will throw the above exception, if the constant isn't set to 1.
I think that's fine, as TS is incomplete.

The thing is that this wouldn't happen on the development server, so I only noticed after deploying.
Both systems are on PHP 5.4.

What could be the reason such incomplete TS doesn't trigger an error on one system, but on the other, it does?


Files

Actions

Also available in: Atom PDF