[TYPO3-core] RFV #13749: Bug: IRRE: Inline elements of translated records are not coppied correctly.

Albrecht Köhnlein typo3 at koehnlein.eu
Fri Mar 5 09:50:11 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13749

Branches:
4-3, trunk

Problem:
In my example, i've got a parent with some IRRE children and translated 
parents with the translated children. When I copy the parent, the 
translated parents and the children in default language are coppied, 
too. But not the children of the translated parents.

This is because, the copy functions thinks that a copy process is a 
localization process, when language code is > 0. But in real, it can 
also be a copy process, when language is set.


Solution:
In attached patch, it's a localization when $language>0 and differs from 
language code of origin record. When $language>0 and is same as language 
code of origin record, it's a copy.


Bye
Albrecht
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13749.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100305/b53538d4/attachment.txt>


More information about the TYPO3-team-core mailing list