[BUGFIX] Clear affected caches on page publishing 08/42308/3
authorBart Dubelaar <bartdubelaar@gmail.com>
Tue, 19 Jun 2012 12:54:45 +0000 (14:54 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 6 Aug 2015 17:28:49 +0000 (19:28 +0200)
commitdcf774c005a346565ab299479f170964b6f2c4af
tree4aa898666e9bf9eb4f265d16d3b1effd43fc8ed8
parent348039c90562055baeda10f7cd91c158f392c715
[BUGFIX] Clear affected caches on page publishing

When publishing a page, the treelist cache should be cleared.
This is fixed by adding a condition that checks for a swap action in
the existing class that hooks into DataHandler and listens for updates to
pages to update the treelist cache.

Change-Id: I0c01450efe9507dcef9f74af626a9ebf3cdc7d4c
Resolves: #37952
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/42308
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php