Upgrade bug: 8.x-4.7 to 8.x-4.8

Created on 29 March 2024, 8 months ago
Updated 16 April 2024, 7 months ago

Problem/Motivation

When upgrading to 8.x-4.8 an error can occur when ldap_user is installed. If `ldapUserSyncMappings.drupal` is not an array.

ldap_user.settings:
  ldapUserSyncMappings.drupal
[error]  array_key_exists(): Argument #2 ($array) must be of type array, null given 
[error]  Update failed: ldap_user_update_8408 

Debug Report

Proposed resolution

  $drupal_mapping = $settings->get('ldapUserSyncMappings.drupal');

to

  $drupal_mapping = $settings->get('ldapUserSyncMappings.drupal') ?? [];

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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