views_post_update_pager_heading hook throws non-existent config entity error after upgrade from 2.0.2 to 2.0.3

Created on 6 September 2024, 3 months ago

Problem/Motivation

After upgrading to 2.0.3, this module runs the views_post_update_pager_heading hook which is returning non-existent config entity and base table or view not found errors. I'm sure there's a different root problem here, but it still means the update hook doesn't feature a way to pass over entities it can't find.

-------- -------------------------------------- ------------- -------------------------------------------------------------------------------
Module Update ID Type Description
-------- -------------------------------------- ------------- -------------------------------------------------------------------------------
views pager_heading post-update Adds a default pager heading.
views rendered_entity_field_cache_metadata post-update Removes entity display cache metadata from views with rendered entity fields.
views views_data_argument_plugin_id post-update Post update configured views for entity reference argument plugin IDs.
-------- -------------------------------------- ------------- -------------------------------------------------------------------------------

// Do you wish to run the specified pending updates?: yes.

> [notice] Update started: views_post_update_pager_heading
> [error] A non-existent config entity name returned by FieldStorageConfigInterface::getBundles(): entity type: media, bundle: report, field name: field_provider_name
> [error] A non-existent config entity name returned by FieldStorageConfigInterface::getBundles(): entity type: media, bundle: report, field name: field_provider_type
> [error] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'default.taxonomy_term__scheduled_transition_date' doesn't exist: SELECT "t".*
> FROM
> "taxonomy_term__scheduled_transition_date" "t"
> WHERE ("entity_id" IN (:db_condition_placeholder_0)) AND ("deleted" = :db_condition_placeholder_1) AND ("langcode" IN (:db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4))
> ORDER BY "delta" ASC; Array
> (
> [:db_condition_placeholder_0] => 12211
> [:db_condition_placeholder_1] => 0
> [:db_condition_placeholder_2] => en
> [:db_condition_placeholder_3] => und
> [:db_condition_placeholder_4] => zxx
> )
>
> [error] Update failed: views_post_update_pager_heading
[error] Update aborted by: views_post_update_pager_heading
[error] Finished performing updates.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loopy1492

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

Comments & Activities

Production build 0.71.5 2024