Dependency on image style missing from rokka stack config

Created on 26 July 2022, almost 2 years ago
Updated 19 July 2023, 12 months ago

Problem/Motivation

The Rokka stack config entities depend on their respective image styles. However this dependency is not declared, so when we are installing config it can happen that the Rokka config is imported before the image styles are available. This then throws repeated errors:

[error]  Missing image style carousel
[error]  Missing image style gallery_lg_1x
[error]  Missing image style gallery_lg_2x
[error]  Missing image style gallery_md_1x
[error]  Missing image style gallery_md_2x
...

Steps to reproduce

Install a project from config, e.g. using drush site-install --existing-config

Proposed resolution

Properly declare the dependency and provide an update hook to fix existing config.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡¬Bulgaria pfrenssen Sofia

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