Skip to content

Commit a97cc6d

Browse files
committed
prevent layout cache corruption
1 parent 255fecc commit a97cc6d

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)