- Issue created by @larowlan
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
We've not been doing that since ~4 months earlier before you created this issue, since β¨ Create a ComponentSource plugin for JS components Active :
if ($this->configInstaller->isSyncing()) { return; } $this->createOrUpdateComponentEntity($entity);
β
\Drupal\experience_builder\EntityHandlers\JavascriptComponentStorage::doPostSave()
But AFAICT the problem is that the Recipes subsystem doesn't correctly signal that config is syncing, and I bet that is why you opened this issue!
That's why both you and I spent a lot of time figuring this out on β¨ Add automated image optimization to image component Active
// @todo Fix upstream core bug in Recipes: it inconsistently claims to be // syncing when installing modules, but not when installing configuration. // Even though it is listed under `import`, and that should hence match the // behavior of the /admin/config/development/configuration/single/import UI. if (in_array('installRecipeConfig', array_column(debug_backtrace(), 'function'), TRUE)) { // Assert the bug is still present. This will start failing as soon as the // upstream bug is fixed. assert(!$this->configInstaller->isSyncing()); return; }
β¦ which you (@larowlan) +1'd as the solution for now π So closing this issue.