[Typo3-dev] Bug in $TSFE->getCompressedTCarray()?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Nov 29 12:15:31 CET 2005


Hi!

I've been writing an extension that uses the l10n-features. All went 
fine as long as I wasn't logged into the BE.

I found out that t3lib_pageSelect->getRecordOverlay() relies on 
$TSFE->TCAcachedExtras. This variable is setup by Bug in 
$TSFE->getCompressedTCarray, but ONLY if the TCA hasn't been loaded.

In my case the TCA is already loaded, probably because I have an active 
BE session, and so no $TSFE->getCompressedTCarray is available. This 
breaks my plugin.

$TSFE->getCompressedTCarray() could be changed to create 
$TSFE->getCompressedTCarray in all cases (from the loaded TCA). Is this 
a correct solution or is something wrong with my installation/setup?

Masi




More information about the TYPO3-dev mailing list