Skip to content

Commit 4425fa8

Browse files
ENGCOM-2168: [Backport] Prevent layout cache corruption in edge case #16493
- Merge Pull Request #16493 from gelanivishal/magento2:2.1-develop-PR-port-12314 - Merged commits: 1. e3e68e8
2 parents aa79287 + e3e68e8 commit 4425fa8

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
@@ -427,6 +427,9 @@ public function load($handles = [])
427427
if ($result) {
428428
$this->addUpdate($result);
429429
$this->pageLayout = $this->_loadCache($cacheIdPageLayout);
430+
foreach ($this->getHandles() as $handle) {
431+
$this->allHandles[$handle] = $this->handleProcessed;
432+
}
430433
return $this;
431434
}
432435

0 commit comments

Comments
 (0)