Closed (fixed)
Project:
Gutenberg
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2024 at 12:36 UTC
Updated:
3 Feb 2025 at 13:49 UTC
Jump to comment: Most recent
Currently trying to assemble all needed for something reproducible, but I think the install goes fine. Then if we go on to try to import config on top of that, this happens (sorry for the Norwegian output):
Warning: [warning] Undefined array key "uuid" StorageComparer.php:259
Notice: [notice] Fullfører synkronisering av konfigurasjon.
In ConfigImportCommands.php line 290:
The import failed due to the following reasons:
Uventet feil under import med handlingen create for views.view.reusable_b
lo
cks: 'view' entity with ID 'reusable_blocks' already
ex
ists.
In ConfigImportCommands.php line 276:
Errors occurred during import
I have a feeling it might be related to gutenberg having views.view.reusable_blocks in both install and optional folder, but not sure yet.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
eiriksmThe issue is that if we save a config file in the install hook, then that saving of the config will mess up for Drupal when trying to figure out which config to keep.
And we don't have to do that either, we can just update the config directly.
I also deleted the optional config, since it's not applicable, as gutenberg requires views.
Comment #4
eiriksmAs anecdotal evidence goes, I can verify this fixes the CI job that was failing without this applied.
Comment #5
szeidlerI also got hit by the problem in our CI. Since views is a dependency in Gutenberg anyhow, the changes make sense.
Thanks for the effort @eiriksm
Comment #7
eiriksm