Update hooks fail

Created on 6 June 2024, 6 months ago
Updated 21 June 2024, 5 months ago

Problem/Motivation

When updating from an older version, a number of errors are thrown:

>  [notice] Update started: y_lb_article_update_9001
>  [warning] The "field_block:node:article_lb:body" was not found
>  [warning] The "field_block:node:article_lb:field_published_date" was not found
>  [notice] Update started: y_lb_article_update_9002
>  [error]  Configuration <em class="placeholder">core.entity_view_display.media.image.article_image</em> depends on the <em class="placeholder">responsive_image.styles.article_image</em> configuration that will not exist after import. 
>  [error]  Update failed: y_lb_article_update_9002 
> Configuration <em class="placeholder">core.entity_view_display.node.article_lb.default</em> depends on configuration (<em class="placeholder">field.field.node.article_lb.body, field.field.node.article_lb.field_header_image, field.field.node.article_lb.field_location_reference, field.field.node.article_lb.field_published_date, field.field.node.article_lb.field_subtitle, field.field.node.article_lb.field_tags, field.field.node.article_lb.field_type, field.field.node.article_lb.layout_builder__layout, node.type.article_lb</em>) that will not exist after import. 

Steps to reproduce

updb from an older version, like 1.1.6

Proposed resolution

Use the `config/outdated` method from the related tickets.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States froboy Chicago, IL

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024