Skip to content

Commit 725433a

Browse files
author
Stanislav Idolov
authored
MAGETWO-84109: Prevent layout cache corruption in edge case #12314
2 parents ad6355d + d514d3e commit 725433a

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
@@ -431,6 +431,9 @@ public function load($handles = [])
431431
if ($result) {
432432
$this->addUpdate($result);
433433
$this->pageLayout = $this->_loadCache($cacheIdPageLayout);
434+
foreach ($this->getHandles() as $handle) {
435+
$this->allHandles[$handle] = $this->handleProcessed;
436+
}
434437
return $this;
435438
}
436439

0 commit comments

Comments
 (0)