There are some scenarios where this module unsubscribes users unintentionally.

When saving an entity with a mailchimp_lists_subscription field, the field gets processed even if it was not included in the submitted form.

This small patch adds a check to the preSave() method that makes sure the field was present when saving the entity.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Andreas Radloff created an issue. See original summary.

asrob’s picture

  • amyvs committed 065f2fd on 8.x-1.x authored by Andreas Radloff
    Issue #2775335 by Andreas Radloff: Prevent unintentional unsubscribe...
amytswan’s picture

Status: Needs review » Fixed

Thanks for the patch, @Andreas Radloff! It's now up on the 8.x-1.x-dev branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.