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

Oliver Hader oliver at typo3.org
Thu Jan 8 14:17:15 CET 2009


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
-- 
Oliver Hader
TYPO3 4.3 Release Manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009674_v4.patch
Type: text/x-diff
Size: 2916 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090108/26626c91/attachment.patch 


More information about the TYPO3-team-core mailing list