[BUGFIX] Clear affected caches on page publishing 95/12195/9
authorBart Dubelaar <bartdubelaar@gmail.com>
Tue, 19 Jun 2012 12:54:45 +0000 (14:54 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 6 Aug 2015 10:06:23 +0000 (12:06 +0200)
commit84982f4260d030220ced7373341a528fae0842ce
treeaf183c7a2128f2a0a4f7c9241b147f90fd51c0a2
parent13991fb834534e4b7c50eb092798f6f6d4ff9c0f
[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/12195
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php