Race condition when you (un)subscribe

Created on 16 March 2017, about 8 years ago
Updated 6 February 2025, 3 months ago

campaignmonitor_user_form() does not always reflect the correct state.

It may take a while for CampaignMonitor to register a subscription change. This means there can be a race condition when you (un)subscribe in Drupal, Drupal notifies CM but it may take a while for CM to register the change. In the meanwhile Drupal will render the "old" state.

Both CampaignMonitor->subscribe() & CampaignMonitor->unsubscribe() run
$this->removeSubscriberFromCache($listId, $email);

Instead of removing the cache, they should write it.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇧🇪Belgium mpp

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024