Skip to content

Commit 06fd0cc

Browse files
MAGETWO-84109: Prevent layout cache corruption in edge case #12314
- Merge Pull Request #12314 from scottsb/magento2:fix-layout-duplication - Merged commits: 1. a97cc6d
2 parents 9bdfce4 + a97cc6d commit 06fd0cc

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)