[TYPO3-core] RFC #14005: Bug: Moving a page with IRRE records misplaces IRRE records

Francois Suter fsu-lists at cobweb.ch
Tue Apr 6 11:25:57 CEST 2010


This is an SVN patch request.

Type: Bugfix

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

Branches:
4.2, 4.3 and trunk

Problem:
When records are moved from one page to another, TCEmain spreads that 
change to the children records of the record being moved, in particular 
IRRE records. This is fine as long as the IRRE records are not related 
to the page itself. If that is the case, the IRRE records end up being 
related to the new parent page of the page being moved, instead of 
staying on the page itself.

Solution:
Check if the record being moved belongs to the "pages" table and adjust 
destination pid accordingly.

Notes:
1) In the bug tracker you'll find an example extension and precises 
steps on how to reproduce this bug.
2) The patch was originally created against the 4-2 branch. It applies 
cleanly to 4-3 and Trunk, but don't be surprised by the big offset.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14005.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100406/16432770/attachment.txt>


More information about the TYPO3-team-core mailing list