[TYPO3-core] RFC: #539. bug - lang-children should be deleted when deleting parent-record in default language

Tolleiv.Nietsch info at tolleiv.de
Mon Oct 19 15:55:03 CEST 2009


This is an SVN patch request.

Type: Bugfix

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

Branches:
trunk, (not sure if this should be back-ported)

Problem:
If someone deleted a record with l10n-overlays the related l10n-overlays 
aren't deleted and stay as orphan and useless records in the system.

Solution:
Once a parent-record is deleted it's overlay-records should be deleted 
aswell. Deleting should only proceed if user has the right to modify all 
languages otherwise nothing should be deleted.

Notes:
Attached patch just triggers the deletedRecord for the related 
l10n-overlays and is therefore fully compatible to workspaces and 
versionung.

The API modifications within the t3lib_userauthgroup will be used for 
the related task of moving records with overlays(#2314).

The issue is quite old and the number of duplicate/related issues is 
very long - imho it's important to resolve these problems with 
l10n-records as soon as we can.

Cheers,
Tolleiv

-- 
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0000539-deleteL10nOverlays.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091019/e9fa0378/attachment.txt>


More information about the TYPO3-team-core mailing list