[TYPO3-core] RFC #10776: Clearing cache_treelist after inserting page on root level does not work

Ingo Renner ingo at typo3.org
Thu Mar 26 23:38:42 CET 2009


Hi *,

This is SVN patch request.

Type: Bugfix

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

Branches: trunk

Problem:
After inserting a new page on the root level of the page tree, the 
following SQL statement is executet:

DELETE FROM cache_treelist
WHERE
pid IN()


Solution:
Check whether there's a list of parent page IDs to clear the cache for 
before issuing the query.


Notes:
The responsible function builds a list of parent page IDs to clear the 
cache for, when inserting a page on root level there are no parent pages 
though, thus the list of pages is empty.



Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10776.diff
Type: text/x-diff
Size: 1018 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090326/af1a4cea/attachment.diff 


More information about the TYPO3-team-core mailing list