[TYPO3-core] RFC: #9674: TCEmain changes for new improved record recycling concept

Julian Kleinhans jk at marketing-factory.de
Tue Jan 20 09:29:59 CET 2009


Hi olly,

Oliver Hader schrieb:
> FYI: Committed to SVN Trunk (rev. 4662)


great and thanks ;-)

julian



> 
> olly
> 
> 
> Oliver Hader schrieb:
>> Hi Julian,
>>
>> Julian Kleinhans schrieb:
>>> This is a SVN patch request.
>>>
>>> Type: Missing Feature
>>>
>>> Bugtracker reference:
>>> http://bugs.typo3.org/view.php?id=9674
>>>
>>> Branches: Trunk
>>>
>>> Problem:
>>> 1) The new improved record recycling concept [1] need some changes in
>>> tcemain to work correct with deleted data! There is no posability to
>>> disable the deleteClause WHERE statement
>>>
>>> 2) Next problem is that there is no method that checks if you can
>>> undelete a record. You can undelete every record with process_cmdmap
>>> (undelete), no matter if the parent site is avaiable (deleted = 0) or
>>> not (deleted = 1)!
>>>
>>> Solution:
>>> 1) New protected var and public setter method to disable deleteClause
>>> 2) New function that checks if the parent site is avaiable
>> I changed some things in your last patch file (v3) and also took into
>> account the notes of the whole thread:
>> * renamed canUndeleteRecord() to isRecordUndeletable()
>> * fixed some styling issues
>>
>> +1 on reading and testing with "extension-recycler" from Forge.
>>
>> I'm going to commit the attached patch soon.
>>
>> olly


More information about the TYPO3-team-core mailing list