Skip to content

Commit e72e6a3

Browse files
digitalrisedorsetglo63652
authored andcommitted
Added missing library file needed for the fix to work
1 parent 9ba84f3 commit e72e6a3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/internal/Magento/Framework/App/PageCache/Identifier.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Magento\Framework\App\ObjectManager;
99
use Magento\Framework\Serialize\Serializer\Json;
10+
use Magento\PageCache\Model\App\Request\Http\IdentifierStoreReader;
1011

1112
/**
1213
* Page unique identifier
@@ -36,7 +37,8 @@ class Identifier implements IdentifierInterface
3637
public function __construct(
3738
\Magento\Framework\App\Request\Http $request,
3839
\Magento\Framework\App\Http\Context $context,
39-
Json $serializer = null
40+
Json $serializer = null,
41+
private IdentifierStoreReader $identifierStoreReader
4042
) {
4143
$this->request = $request;
4244
$this->context = $context;
@@ -57,6 +59,8 @@ public function getValue()
5759
?: $this->context->getVaryString()
5860
];
5961

62+
$data = $this->identifierStoreReader->getPageTagsWithStoreCacheTags($data);
63+
6064
return sha1($this->serializer->serialize($data));
6165
}
6266
}

0 commit comments

Comments
 (0)