Importing blocks with module settings inside a recipe seems to fail

Created on 17 December 2024, 5 days ago

Problem/Motivation

When trying to import a block containing Social Media Links settings, the recipe application (using ddev recipe-apply) failed with the following message:

In RecipeConfigInstaller.php line 70:
                                                                         
  There were validation errors in block.block.olivero_socialmedialinks:  
  - settings.platforms: 'platforms' is not a supported key.              
  - settings.appearance: 'appearance' is not a supported key.            
  - settings.link_attributes: 'link_attributes' is not a supported key.  
  - settings.iconset: 'iconset' is not a supported key. 

The same block without the keys won't block the recipe application (but the website will then display another error because the platforms key is null, which is an issue with the Social Media Links module).

Steps to reproduce

I have attached a minimal recipe that should reproduce the issue.

Is it something I misunderstood about the recipe? I haven't had any issue with other blocs, but none of them had specific settings.

It seems that the installation of the recipe using the UI is working (we are using a custom profile which is almost a direct copy from the drupal cms installer).

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

recipe system

Created by

🇫🇷France simon georges Rouen, France

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024