wxt_ext_page_update_8500() fails if page content type doesn't exist

Created on 19 November 2023, 10 months ago
Updated 23 November 2023, 10 months ago

Problem/Motivation

I have two sites that do not have the page content type anymore. This causes wxt_ext_page_update_8500() to fail.

Steps to reproduce

Delete page content type, upgrade to WxT 5.0.1 from Drupal 9, run drush updb, see failure.

Proposed resolution

Check for existence of page content type before running the rest of the update script.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇨🇦Canada smulvih2 Canada 🍁

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

Comments & Activities

Production build 0.71.5 2024