PushQueue causes fatal error in Drupal\Core\Database\Query\Merge

Created on 12 March 2025, 21 days ago

Problem/Motivation

Drupal\Core\Database\Query\Merge::key() is called with an array of keys. That method in Core throws a fatal error if its not a string:

public function key($field, $value = NULL) {
  assert(is_string($field));
  $this->keys([$field => $value]);
  return $this;
}

Steps to reproduce

Check PushQueue code

Proposed resolution

Call Drupal\Core\Database\Query\Merge::keys() instead which accepts array of keys

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Active

Version

5.1

Component

salesforce_push.module

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

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