diff --git a/CHANGELOG.md b/CHANGELOG.md index eee9ec7b..d45a9e8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog ========= +2.0.2 +----- + +* Fixed cache key sanitize for UUID map of referenceable nodes. + 2.0.1 ----- diff --git a/src/Jackalope/Transport/DoctrineDBAL/CachedClient.php b/src/Jackalope/Transport/DoctrineDBAL/CachedClient.php index 5de420ee..74c8b752 100644 --- a/src/Jackalope/Transport/DoctrineDBAL/CachedClient.php +++ b/src/Jackalope/Transport/DoctrineDBAL/CachedClient.php @@ -103,6 +103,7 @@ private function clearNodeCache(Node $node): void if ($node->isNodeType('mix:referenceable')) { $uuid = $node->getIdentifier(); $cacheKey = "nodes by uuid: $uuid, ".$this->workspaceName; + $cacheKey = $this->sanitizeKey($cacheKey); $this->caches['nodes']->delete($cacheKey); } }