Announcement icon Drupal 7 will officially reach its End of Life on 5 January 2025. This date marks the 14-year anniversary since Drupal 7 was released on 5 January 2011. It is recommended to migrate your site as soon as possible.
Closed (fixed)
Project:
Salesforce Suite
Version:
8.x-4.2
Component:
salesforce_pull.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2021 at 22:44 UTC
Updated:
28 Sep 2021 at 17:24 UTC

Problem/Motivation

In \Drupal\salesforce_pull\Controller\PullController::populateQueue (line 172), the parameter passed to loadByProperties is wrapped in double brackets / nested array, I think only one set of bracket is needed.

    else {
      $mappings = $this->mappingStorage->loadByProperties([["pull_standalone" => TRUE]]);
--------------------------------------
p.s. This is my first post, so apologies if I am not doing this correctly. I looked through the existing issue queue, and cannot find one similar.

  • AaronBauman committed 44a6086 on 5.0.x authored by Edith.F
    Issue #3232757 by Edith.F: Parameter nested in extra array when calling...
  • AaronBauman committed da93bdb on 8.x-4.x authored by Edith.F
    Issue #3232757 by Edith.F: Parameter nested in extra array when calling...
  • Comment File Size Author
    salesforce_pull_controller.patch 549 bytes Edith.F