Not sure if this is a duplicate of https://www.drupal.org/node/2906484, but i can't get interest groups fetched from the list and show in fieldset as checkboxes.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fetch_group-2920238-2.patch | 769 bytes | Bojan Zivkov |
Not sure if this is a duplicate of https://www.drupal.org/node/2906484, but i can't get interest groups fetched from the list and show in fieldset as checkboxes.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fetch_group-2920238-2.patch | 769 bytes | Bojan Zivkov |
Comments
Comment #2
Bojan Zivkov commentedI found that buildConfigurationForm wrongly treats group listing and mixes some form keys.
Here is the patch that will get the groups in the right way and show groups checkboxes in the fieldset.
Comment #3
Bojan Zivkov commentedComment #4
miro_dietikerYeah that looks pretty fine when i test drove the module for evaluation i applied the same quickfix.
Promoting as group selection is currently completely broken.
Comment #5
sam mooreHere's an update in case anyone's struggling with this:
Your groups have to be set to be visible on the Mailchimp signup forms setup, or the Webform handler won't see them. You can't change groups from hidden to visible in the Mailchimp admin interface as far as I can tell, so you may have to delete and re-create your group.
Once I did that, (and with the patch applied), I was able to see and select my groups.
I'd prefer to be able to hide the group selection in my user-driven signup forms, but that's a Mailchimp issue.
Comment #6
miro_dietikerIMHO it's pretty clear that also invisible groups should be provided in the UI. Maybe indicate invisibility.
The whole idea of invisible groups is to assign them implicitly based on specific conditions.
Comment #7
Bojan Zivkov commentedComment #8
miro_dietikerOops, as there is no response from the Testbot, it seems there are no tests at all for Webform Mailchimp?
https://www.drupal.org/node/1001256/qa
That's a bit unfortunate.. :-) We should figure out how to do back quality assurance.
Comment #9
miro_dietikerOK, this makes the visible groups work as @Sam stated.
Let's discuss about making hidden group available for selection in #2906484: Subscribing webform submitters to a hidden Mailchimp interest group?
Comment #10
miro_dietikerWorks very well, meanwhile tested multiple times.
Comment #12
mbovan commentedCommitted. Thank you.