[TYPO3-core] REMINDER: Ideas for fixing bug #2028: compressed TCA not available with active BE session

Michael Stucki michael at typo3.org
Sat Jul 7 02:06:34 CEST 2007


I can't reproduce this. Can you please explain it a bit more detailed?

- michael

Martin Kutschker wrote:

> Martin Kutschker schrieb:
>> Martin Kutschker schrieb:
>>> Hi!
>>>
>>> The problem is that a preview of eg a localized news (type internal
>>> link) will fail because the record is not localized correctly. This is
>>> quite annoying because you (the editor) will not see, what will be
>>> shown to users.
>> 
>> Branch: trunk, TYPO3_41
>> 
>> Solution: check if $this->TCAcachedExtras set, and if not generate it.
>> The TCA will be loaded if necessary. The result will only be cached if
>> no BE session is active as the TCA is loaded and generating the
>> compressed TCA is inexpensive.
>> 
>> For reference I've attached the real diff, a white-space ignorant diff
>> and the changed function as the diff is a bit hard to read (mostly
>> adding an extra indenting level and adding two extra checks).
> 
> How to test:
> 
> Create a tt_news record of type "link to internal page" in a site with
> multiple languages. Now have a look at that news record in FE while being
> logged into the BE.
> 
> Masi

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list