[TYPO3-core] RFC: #16142: Records should not be intendet if there is no parent record

Sebastian Fischer sf at marketing-factory.de
Wed Oct 27 12:11:19 CEST 2010


Am 27.10.2010 11:28, schrieb Georg Ringer:
> Hi,
>
> This is an SVN patch request.
>
> Type: no-brainer
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=16142
>
> Branches:
> 4.4, trunk
>
> Problem:
> Records with no parent language record are intended, IMHO this is wrong
> as they don't belong to a parent record.
>
> Steps to reproduce:
> Create tt_news or tt_content records in default language, translate some
> and create some in a different language
>
> Solution:
> Additional check for language parent
>
> Best regards,
> Georg

+1 by reading

I dont know if the transOrigPointerField field is present at any time if 
languageField does and would surgest to check 
isset($row[$GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField']]) 
but beside that its ok.

Greetings
Sebastian


More information about the TYPO3-team-core mailing list