Closed (fixed)
Project:
Mailchimp
Version:
6.x-2.4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2011 at 17:49 UTC
Updated:
25 Mar 2011 at 12:45 UTC
I just upgraded from 6.x-2.2 to 6.x-2.4 last night and found that, when the sign-up block is active for a mailing list, all page titles now show up as 'Newsletter Subscriptions'. This only happens for authenticated users, not anonymous users.
Disabling the block solves the problem.
Anyone else run into this?
Comments
Comment #1
theruslanUpgraded from 6.x-2.3 to 6.x-2.4, same problem.
Comment #2
Poieo commentedI can confirm the same issue with the 2.4 version. However, it only happens for authenticated users.
Edit: Tested with Garland to insure it's theme independent.
Comment #3
Poieo commentedThis seems to be causing the problem:
on line 175 of mailchimp.module.
Comment #4
jerry commentedSame here. Subscribing.
Comment #5
jerry commentedQuick fix for now - change line 176 of mailchimp.module from:
to:
Comment #6
Poieo commentedThanks jerry.
This works for me. Not sure if this causes any other issues. So far so good.
Marking as major as this bug completely removes your ability to use the signup block.
Comment #7
fenstratIt appears this bug was introduced in this commit.
I've followed this up with a patch which fixes this bug over at #744030-5: patch for not everything is a "newsletter".
Comment #8
krisrobinson commentedSame problem. Quick fix worked.
Comment #9
fenstrat@honucreative The quick fix doesn't actually remove the source of the problem. Can you try the patch linked to from #7?
Comment #10
pieterdc#744030: patch for not everything is a "newsletter" seems to be a duplicate of this issue
@fenstrat: the patch linked from comment #7 fixes the problem but it re-introduces the "bug" that was fixed by the code that causes this problem... hmm, sounds complicated :p
Short: the patch from #7 fixes the problem that all pages got 'Newsletter Subscriptions' as a title but it doesn't set that title on user/%user_id/mailchimp either. And that's where it should appear.
Comment #11
krisrobinson commented@fenstrat: i will try the patch... the quickfix is a band aid solution I found out - all the user pages now have the title newsletter subscriptions... aiee.
Comment #12
krisrobinson commentedI tried to apply the patch it didn't seem to work. I went back to 2.3 for now, my site is about to go live.
Comment #13
jerry commentedIf the little fix in #5 didn't work for you, it's likely because you're displaying the signup block on the user pages. This modification to that fix should take care of that case. Change line 176 of mailchimp.module from:
to:
No doubt there's a better way to handle it, but this should tide you over until it's available.
Comment #15
rickmanelius commentedsubscribing
Comment #16
atzanov commentedThank you Jerry. For a while I had resolved to keep the Mailchimp module disabled until next version is released, but your solution fixed the problem and saved the day. :)
Comment #17
levelos commentedI'm going with fenstrat's approach in #744030-5: patch for not everything is a "newsletter". I don't think the page variable scheme has any business here. My mistake for letting it through in the first place.
Comment #18
flock commentedPatch in #13 worked perfectly for me.
Thanks.
Comment #19
fenstrat#13 is not a patch. The correct fix was comited here. That fix is available in the current -dev version and will be included in the next 2.5 release.
Comment #21
j0rd commentedSame problem. Would be nice to get a bug-fix release.