[BUGFIX][Cache] Typo3DbBackend forgets tag entries in flushByTag 17/22017/2
authorChristian Zenker <typo3@xopn.de>
Wed, 12 Jun 2013 14:45:57 +0000 (16:45 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 6 Jul 2013 14:03:17 +0000 (16:03 +0200)
commitdf8a660041a62577dc801a02e3c419bb3d14b2a8
treee51fcc9937e344260b31c3ecfc56656e587f61e4
parent8912b630f3f55706cd55d393fab91364a0b571cb
[BUGFIX][Cache] Typo3DbBackend forgets tag entries in flushByTag

flushByTags removes cache entries tagged with a given tag, but
if those cache entries have other tags assigned, they are not
deleted in the tags table.
The patch fixes this with an additional query.

Resolves: #48984
Releases: 6.2, 6.1, 6.0
Change-Id: I7096e63cf823633f0c8a47f698bd475d7d02b83c
Reviewed-on: https://review.typo3.org/22017
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php
typo3/sysext/core/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php