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

Oliver Hader oliver at typo3.org
Wed Oct 21 12:26:31 CEST 2009


FYI: Committed the attached patch as follow-up to SVN Trunk (rev. 6213)

"Follow-up to bugfix #539: Tables that cannot be localized at all
produce a SQL error on deleting records"

olly


Rupert Germann schrieb:
> FYI: commited to trunk rev 6192
> 
> 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
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0000539_followup.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091021/45482763/attachment.bin>


More information about the TYPO3-team-core mailing list