[TYPO3-core] RFC #13749: Bug: IRRE inline elements of translated records are not coppied correctly

Albrecht Köhnlein typo3 at koehnlein.eu
Thu Mar 11 17:29:13 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.



Sorry, I don't want to spam. I posted this bug already with a typing 
error in subject and nobody answered. Maybe you didn't see it, so I 
decided to post it again.

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/20100311/60958f41/attachment.txt>


More information about the TYPO3-team-core mailing list