Responsive image config could not be (fully) imported after being exported

Created on 9 October 2017, over 6 years ago
Updated 10 June 2023, about 1 year ago

Step to reproduce:
1-Create a responsive images configuration based on breakpoints and image styles
2-Export all those configurations in yaml files
=>the following lines are describing those configurations.. I don't think it is useful for debugging... I add this information in "the case of"
In ma scenario, I have exported several image styles used in the responsive images configuration

image.style.crop_slide_lg.yml
image.style.crop_for_slide_show_md.yml
...

As well as some crop style (because my image styles are based on those crop styles)

crop.type.slide_show_lg.yml
crop.type.slide_show_md.yml
...

And, at the end, my responsive images config:

#uuid: 8613697f-2f28-4693-9c72-156d1303b3a8
langcode: fr
status: true
dependencies:
  config:
    - image.style.crop_for_slide_show_md
    - image.style.crop_for_slide_show_xs
    - image.style.crop_for_slide_show_xxs
    - image.style.crop_slide_lg
#  theme:
#    - my_theme
id: prog_slide
label: prog_slide
image_style_mappings:
  -
    breakpoint_id: bootstrap.screen-lg-min
    multiplier: 1x
    image_mapping_type: image_style
    image_mapping: crop_slide_lg
  -
    breakpoint_id: bootstrap.screen-sm-min
    multiplier: 1x
    image_mapping_type: image_style
    image_mapping: crop_for_slide_show_md
  -
    breakpoint_id: bootstrap.screen-xs-min
    multiplier: 1x
    image_mapping_type: image_style
    image_mapping: crop_for_slide_show_xs
  -
    breakpoint_id: bootstrap.screen-xxs-max
    multiplier: 1x
    image_mapping_type: image_style
    image_mapping: crop_for_slide_show_xxs
breakpoint_group: diaporama
fallback_image_style: crop_for_slide_show_xxs

Note: I have commented with # the theme dependency because I will use another breakpoints config called "diaporama" and defined in another yml file diaporama.breakpoints.yml

3-Create a module (diaporama) and add those yml files in diaporama/config/install
Note: diaporama.breakpoints.yml is added in the root folder of the module
4-Install the "diaporama" module

Result:
-Crop settings, Image styles, breakpoints are correctly installed
-The "prog_slide" responsive image settings are not fully installed: the links between the image styles and the breakpoints are missing (see the screenshot) [but "prog_slide" does exists]

πŸ’¬ Support request
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
Responsive imageΒ  β†’

Last updated 12 days ago

Created by

πŸ‡§πŸ‡ͺBelgium DuneBL

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024