[TYPO3-dev] method "getRecordOverlay" is overlaying records set to "all languages" - bug or feature?
stefano cecere
scecere at krur.com
Wed Jan 14 11:02:18 CET 2009
Franz Koch wrote:
> 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?
absolutely +1!!
(i am working on a quite big 12+ languages portal.. and i am having some multilanguages issues.. i think this bug is taking part to the bugparty! :)
stefano
More information about the TYPO3-dev
mailing list