Skip to content

Commit 79a9a1b

Browse files
committed
fix: issue with persistence cache tags
https://issues.ibexa.co/browse/IBX-819
1 parent db80c02 commit 79a9a1b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"require": {
2222
"php": "^7.1",
2323
"ezsystems/ezplatform-admin-ui": "^1.3",
24+
"ezsystems/ezpublish-kernel": "^v7.5.22",
2425
"knplabs/knp-menu-bundle": "^2.1",
2526
"php": ">=7.1",
2627
"symfony/symfony": "^3.4",

src/lib/MenuItem/Type/ContentMenuItemType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ protected function getMenuItemLinkInfos(MenuItem $menuItem): array
201201
$cacheItem->set($menuItemLinkInfos);
202202
$cacheItem->tag(
203203
[
204-
'content-'.$content->id,
205-
'location-'.$location->id,
204+
'c-'.$content->id,
205+
'l-'.$location->id,
206206
'menu-item-'.$menuItem->getId(),
207207
'menu-'.$menuItem->getMenu()->getId(),
208208
]

0 commit comments

Comments
 (0)