AssertionError: The configuration _ exists in assert()

Created on 19 April 2023, about 1 year ago
Updated 21 October 2023, 8 months ago

Problem/Motivation

We generate some image styles on-the-fly on our production environment, so we've added this line to our config ignore:

- 'image.style.twig_image*'

During a config import, we sometimes encounter this assert:

AssertionError: The configuration image.style.xxxxx exists in assert() (line 144 of (redacted)/webroot/modules/contrib/config_ignore/src/EventSubscriber/ConfigIgnoreEventSubscriber.php).

This configuration only exists in the database on our production environment, because we don't write the configuration of these on-the-fly image styles to disk. Perhaps that is the reason?

More importantly, why is this an assert? Can this become an if-statement?

πŸ› Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium beerendlauwers

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

Comments & Activities

Production build 0.69.0 2024