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

Rupert Germann rupi at gmx.li
Tue Oct 20 13:36:41 CEST 2009


hi Tolleiv

first of all: thanks for your work on this :-)

while testing your patch I found that the user should be informed about 
the amount of translations which will be deleted with this record.
I added a new function t3lib_befunc::translationCount() which  counts 
the affected translations and adds a message to the confirm popup.

see attached v2.

+1 by reading and testing for v2

greets
rupert



Tolleiv.Nietsch schrieb:
> 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
> 



More information about the TYPO3-team-core mailing list