Selected list segment not showing on Mailchimp Campaign view page, causing errors

Created on 24 October 2018, almost 7 years ago
Updated 10 July 2025, 16 days ago

Problem/Motivation

If a user selects a list segment to send a campaign to, it shows an error on that campaign view page.
Steps to reproduce:

  • Install Mailchimp 8.x-1.7 on Drupal 8.6.2
  • Enable Mailchimp, MailChimp Campaign, and MailChimp Lists modules
  • Add new MailChimp Campaign and select a List Segment to send to
  • Save as draft
  • Click on View for newly created campaign
  • Receive several errors about undefined property $mc_data

Proposed resolution

Update MailchimpCampaignViewBuilder.php on line 48, to use $entity instead of$this

Remaining tasks

Reviews needed

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

General

Created by

🇺🇸United States averagejoe3000 Swanzey, NH

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.

  • 🇺🇸United States xenophyle

    Thanks for submitting this ticket — and sorry we didn’t get back to you about it sooner. We are cleaning up old issues and issue for old versions and are going to close this one. If this issue is still relevant for you, please re-open it and update the “Version” field, and include any updates to the behavior you are seeing.With a smaller issue queue, we’ll have an easier time getting back to you.

Production build 0.71.5 2024