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
Issue fork mailchimp-3391752
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
xenophyle commented