Mailchimp module release 2.2.1 reference is null and breaking access to a security update

Created on 28 June 2023, about 1 year ago

Problem/Motivation

There was a security update released today for drupal/mailchimp and composer update commands are currently broken due to the previous version having a null reference here: https://packages.drupal.org/files/packages/8/p2/drupal/mailchimp.json

Steps to reproduce

Try to composer require drupal/mailchimp or composer update drupal/mailchimp and you will see the error:

Could not load packages drupal/mailchimp in composer repo (https://packages.drupal.org/8) from downloaded file (https://packages.drupal.org/files/packages/8/p2/drupal/mailchimp.json): [UnexpectedValueException] Package drupal/mailchi
  mp's source key should be specified as {"type": ..., "url": ..., "reference": ...},
  {"type":"git","url":"https:\/\/git.drupalcode.org\/project\/mailchimp.git","reference":null} given.


In ArrayLoader.php line 178:

  Package drupal/mailchimp's source key should be specified as {"type": ..., "url": ..., "reference": ...},
  {"type":"git","url":"https:\/\/git.drupalcode.org\/project\/mailchimp.git","reference":null} given.

There is an issue in the Mailchimp module issue queue with additional context/info - https://www.drupal.org/project/mailchimp/issues/3371142 πŸ’¬ Could not load packages drupal/mailchimp in composer repo Fixed

Proposed resolution

Add the proper reference for the 2.2.1 release, or provide us with instruction how to fix?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aprice42

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

Comments & Activities

Production build 0.69.0 2024