Skip to content

Commit 151ec11

Browse files
committed
ACP2E-1700: Updating URL Suffix configurations too many times at once will result in mismatch URL suffix in url_rewrite table and the configurations
1 parent 4a41ec4 commit 151ec11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Config/Model/Config.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ public function save()
182182
return $this;
183183
}
184184

185+
/**
186+
* Reload config to make sure config data is consistent with the database at this point.
187+
*/
188+
$this->_appConfig->reinit();
185189
$oldConfig = $this->_getConfig(true);
186190

187191
/** @var \Magento\Framework\DB\Transaction $deleteTransaction */

0 commit comments

Comments
 (0)