[TYPO3-dev] method "getRecordOverlay" is overlaying records set to "all languages" - bug or feature?

Franz Koch typo.removeformessage at fx-graefix.de
Tue Jan 13 11:28:23 CET 2009


Hi,

one thing I noticed is, that the method "getRecordOverlay" of 
class.t3lib_page.php is also overlaying records which are set to 
language [ALL] and I wonder why?

In general this might not be a problem, as those records can't be 
translated afterwards, but if you first got a translated version and 
then switch the default content to language [ALL], it will be overlayed too:

-- class.t3lib_page.php lines 350 from current SVN -------------

// Must be default language or [All], otherwise no overlaying:
if ($row[$TCA[$table]['ctrl']['languageField']]<=0)	{

----------------

To me, overlaying a record set to language [ALL] is clearly a bug. When 
it should be used for ALL languages, than it should be used as is and 
not get overlaid by some leftovers.

How do you guys see this?
-- 
kind regards,
Franz Koch




More information about the TYPO3-dev mailing list