[TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ?

Martin Kutschker masi-no at spam-typo3.org
Wed Jun 18 14:48:38 CEST 2008


Ernesto Baschny [cron IT] schrieb:
>>
>> I have had similar issues when upgrading some sites from 4.1.7 which 
>> defined "global" variables which were not accessible anymore from 
>> inside functions. It seems that the scope of inclusion of our plugins 
>> changed somewhere between 4.1.3 and 4.1.6, but I cannot spot the exact 
>> location yet.
> 
> Ok, I isolated the problem part, which was this patch:
> 
> http://forge.typo3.org/repositories/revision/typo3v4-core?rev=3276
> 
> So happens on the upgrade from 4.1.5 to 4.1.6 and probably affect 
> USER_INT plugins only. Is this also your case, Stefan?

Even so I wouldn't change anything in TYPO3. a) better to use $GLOBAL on 
any occasion, don't rely on scoping that is outside of your control and 
b) don't access TYPO3 internals if there is an API for it.

Masi




More information about the TYPO3-dev mailing list