[TYPO3-core] RFC #13380: Bug: Recursive deletion of alternative page languages

Andreas Otto andreas at otto-hanika.de
Sun Jan 31 19:28:57 CET 2010


This is an SVN patch request.

Type: Bug

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

Branches:
4-3, trunk

Problem:
If an alternative page language record will be deleted this can trigger
the automatic deletion of other records in the table
pages_language_overlay.

This behaviour was introduced in revisions 6192, 6198, 6199 and 6213
when the method deleteL10nOverlayRecords was introduced.

Solution:
Add a check for the table pages_language_overlay to method
deleteL10nOverlayRecords in class.t3lib_tcemain.php.

How to reproduce:
The attached T3D file contains a simple example.
Import the T3D on the root (0) of an empty TYPO3 installation.
During import select the option "Force ALL UIDs values".
Select the list module and select the page "example.com".
Delete the record with uid 8 from " Alternative Page Language".

All records in "Alternative Page Language" should now be deleted.


Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pages_language_overlay-testcase.t3d
Type: application/octet-stream
Size: 4938 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100131/6e2fcec0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13380-pages_language_overlay.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100131/6e2fcec0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3761 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100131/6e2fcec0/attachment-0001.bin>


More information about the TYPO3-team-core mailing list