Problem/Motivation

When switched to drupal 10 the update hooks 8904 and 8905 are failing with errors.

Issue is the check added to detect the field is already present or not is not returning correct results:
With current logic:
img1

Fix addedimg 2:

Steps to reproduce

  • Move to Drupal 10 with the latest version of the module ^1.8
  • Run drush updb

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

vakulrai created an issue. See original summary.

vakulrai’s picture

Status: Active » Needs review
StatusFileSize
new1.19 KB

Adding a patch to fix the if condition check.

  • Mojiferous committed 89f43240 on 8.x-1.x authored by vakulrai
    Issue #3400346 by vakulrai: D10 : The update hooks 8904 and 8905  field...
mojiferous’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.