Skip to content

Commit 9e2e451

Browse files
author
Stanislav Idolov
authored
ENGCOM-2164: [Forwardport] Prevent layout cache corruption in edge case #16487
2 parents d0eca97 + f6b2fd6 commit 9e2e451

File tree

1 file changed

+3
-0
lines changed
  • lib/internal/Magento/Framework/View/Model/Layout

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/View/Model/Layout/Merge.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,9 @@ public function load($handles = [])
443443
if ($result) {
444444
$this->addUpdate($result);
445445
$this->pageLayout = $this->_loadCache($cacheIdPageLayout);
446+
foreach ($this->getHandles() as $handle) {
447+
$this->allHandles[$handle] = $this->handleProcessed;
448+
}
446449
return $this;
447450
}
448451

0 commit comments

Comments
 (0)