Fix invalid error for users without value in subscription field

Created on 16 April 2025, 4 days ago

Problem/Motivation

I am importing user without a value in the subscription field. In that case the Mailchimp module tries to update merge variables without changing the subscription. If a user was not subscribed this should fail. However, the Mailchimp module is filling the log with error messages:

An error occurred updating {email} on list {list}. "404: Resource Not Found - The requested resource could not be found."

Steps to reproduce

Create a new user with no value in the subscription field.

Proposed resolution

This was recognized not to be an error in the function mailchimp_get_memberinfo(). Use the approach from that function to fix this bug.

Remaining tasks

  1. Create merge request.
  2. Review code.
  3. Release.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

2.0

Component

General

Created by

πŸ‡ΊπŸ‡ΈUnited States darren oh Lakeland, Florida

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