Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
after updating core from 7.38 to 7.39, autocomplete in campaign insert content edit page not working anymore.
As related in this, I end up changing the line $form['entity_import']['entity_id']['#attribute']['id'] = $section . '-entity-import-entity-id'; with this one $form['entity_import']['entity_id']['#id'] = $section . '-entity-import-entity-id'; in the file modules/mailchimp_campaign/includes/mailchimp_campaign.admin.inc.
Everything works fine after this modification. Sorry I don't have the time to learn how to commit a patch now.
Regards,
Loïc
Comment | File | Size | Author |
---|---|---|---|
#2 | mailchimp-site-content-campaign-autocomplete-2558465.patch | 878 bytes | Greg Boggs |
Comments
Comment #2
Greg BoggsThanks for reporting the issue Loïc. I've attached the above code as a patch to make review easier. This needs to be replicated, reviewed, and tested.
To create the patch I did the following:
git clone --branch 7.x-3.x http://git.drupal.org/project/mailchimp.git
cd mailchimp
Make the change.
git diff > mailchimp-site-content-campaign-autocomplete-2558465.patch
Comment #3
dmsmidtWorks for me!
Comment #4
thejimbirch CreditAttribution: thejimbirch commentedWorks for me also.
Comment #6
jami CreditAttribution: jami at ThinkShout for Mailchimp commentedWorks great. Thanks aliod, Greg, and other reviewers!
Comment #8
mubiesam CreditAttribution: mubiesam commentedApplied the patch, the autocomplete worked to show the
[mailchimp_campaign|entity_type=node|entity_id=5|view_mode=teaser]
but only the code, it will not display the content in the preview...
Any suggestion...
Thanks,
Comment #9
mubiesam CreditAttribution: mubiesam commentedComment #12
mubiesam CreditAttribution: mubiesam commentedUpgraded to 7.4 with library installed successfully, but still have the same problem in INSERT SITE CONTENT, only the following code shown, no actual content...
[mailchimp_campaign|entity_type=node|entity_id=5|view_mode=full]
Any suggestion...highly appreciated.
Comment #13
samuel.mortensonHi @mubiesam - if this is still happening for you, could you open a new issue for the 7.x-4.x or 7.x-5.x branch? Thanks!