Interests are not updated

Created on 4 October 2023, 9 months ago
Updated 13 October 2023, 9 months ago

Problem/Motivation

Updating interests on the Drupal site does not send updates to Mailchimp.
The code is not correctly checking for changed interest selections in _mailchimp_lists_subscription_has_changed().

Steps to reproduce

1. Create a user with a MailchimpListsSubscription field, configured with interest groups enabled.
2. Configure the display of the field to use the "Subscription Form" formatter with interest groups displayed.
3. Subscribe the user to an audience with interests through this field.
4. Change the chosen interests and resubmit the form.

The subscription does not update locally or at Mailchimp.

Proposed resolution

When comparing interests selected in the subscription form to interests selected according to Mailchimp, update the code to match current data structures.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Lists Module

Created by

πŸ‡ΊπŸ‡ΈUnited States xenophyle

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

Comments & Activities

Production build 0.69.0 2024