[TYPO3-core] RFC #10776: Clearing cache_treelist after inserting page on root level does not work
Oliver Hader
oliver at typo3.org
Thu Mar 26 23:44:10 CET 2009
Hi Ingo,
Ingo Renner schrieb:
> 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.
+1 on reading and testing
You can commit directly to Trunk since I consider it as a no-brainer and
the fix is quite obvious.
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list