localgovdrupal / localgov_demo

Example content for demonstrating the LocalGovDrupal distribution and to help with development.
GNU General Public License v2.0
0 stars 1 forks source link

Config install error of alert banner block #134

Closed andybroomfield closed 1 month ago

andybroomfield commented 1 month ago

This message gets output a lot when doing a config install with the default localgov install (with a couple of patches to get it working).

[error] Unexpected error during import with operation create for block.block.localgov_alert_banner: The entity does not have an ID.

andybroomfield commented 1 month ago

The banner block actually shows though.

andybroomfield commented 1 month ago

This is localgov_demo that is adding an empty block called block.block.localgov_alert_banner.yml with contents

weight: -10
andybroomfield commented 1 month ago

It's caused by https://github.com/localgovdrupal/localgov_demo/blob/7537730c881da18c7e211328667c884600bf0837/localgov_demo.install#L40-L43

Do we actually need these lines? I don't think they do anything anyway as that block will be malformed.