I have created a list that is required by a certain role. I have mapped variables that are supposed to merge into Mailchimp list such as First Name, Last Name, and Username. When a user is added to the role their email address is added to the list successfully, but the variables do not show in Mailchimp.

I have another list that is "opt-out" for authenticated users and it's variables are merging correctly.

Thanks in advance!

Comments

wsali’s picture

Priority: Major » Normal
xurizaemon’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

I hit the same issue. The format of $list->mergevars was getting overwritten, and the result of $q->listMergeVars() is not the same as the key:value mapping of Mailchimp tags to Token values in $list->mergevars.

Try this patch - seems to work for me.

wsali’s picture

Status: Needs review » Fixed

Yes your patch worked.

Thanks for easy fix!

xurizaemon’s picture

Status: Fixed » Needs review

I believe wsali intended to set the status to RTBC, but inadvertently marked the issue fixed.

wsali, can you confirm? I don't see a corresponding commit.

levelos’s picture

Status: Needs review » Closed (fixed)

Fixed in http://drupal.org/commitlog/commit/5104/f3e26ea360fd467267dd95262595aeed....

Good catch grobot, I caught this in 7.x-1.x where's it's already fixed. BTW, you might want to consider "git format-patch" when creating patches so you can get proper author credit.