Issue Bug Closed

#65997Typoscript causing TCA Error - but not under all circumstances

Urs Braem 03/24/15, 22:42 updated 07/06/15, 17:44

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.