Skip to content

Commit

Permalink
Merge pull request #39 from gelanivishal/2.3-develop-PR-port-12314
Browse files Browse the repository at this point in the history
[Forwardport] Prevent layout cache corruption in edge case
  • Loading branch information
gelanivishal authored Jul 2, 2018
2 parents 4ae35c1 + 9074980 commit deddf06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/View/Model/Layout/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,9 @@ public function load($handles = [])
if ($result) {
$this->addUpdate($result);
$this->pageLayout = $this->_loadCache($cacheIdPageLayout);
foreach ($this->getHandles() as $handle) {
$this->allHandles[$handle] = $this->handleProcessed;
}
return $this;
}

Expand Down

0 comments on commit deddf06

Please sign in to comment.