- Issue created by @spadxiii
- Merge request !17Issue #3391000: Key config overrides queries mapping every config override each time → (Open) created by spadxiii
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 8.0 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 8 pass - First commit to issue fork.
- 🇮🇳India vipin.mittal18 Greater Noida
Hello Caspar,
Could you please provide the exact steps to reproduce the issue? I want to ensure I'm not missing anything, as I haven't been able to replicate the problem on my end. Thanks!
- 🇮🇳India vishalkhode
Not able to reproduce issue as well. Verified that
getMapping()
method is called multiple times, but, due to the condition i.eif (!$this->mapping) {
, it only executes once. Please add steps to reproduce and re-open, if we still see this issue. Hence, closing. - 🇺🇸United States japerry KVUO
\Drupal\Core\Config\ConfigFactory::doGet will invoke \Drupal\Core\Config\ConfigFactory::loadOverrides over each with instances of \Drupal\Core\Config\ConfigFactoryOverrideInterface
When config factory service is created \Drupal\Core\Config\ConfigFactory::addOverride adds each override, cannot guarantee they are re-used
There is a bug here, but the proposed fix is not it. Will look into it further later.