Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | mailchimp-2775335-prevent_unintentional_unsubscribe-1.patch | 834 bytes | Andreas Radloff |
Comments
Comment #2
Andreas Radloff CreditAttribution: Andreas Radloff commentedComment #3
asrobComment #5
amytswan CreditAttribution: amytswan at ThinkShout commentedThanks for the patch, @Andreas Radloff! It's now up on the 8.x-1.x-dev branch.