If you have selected more than one mailing list in the settings /admin/config/services/apsis_mail but you select one in the block config, you get an error:

Illegal choice 1212121 32323232 in exposed_lists element. (where 1212121 and 32323232 are the ids of the mailing lists)

Comments

jjcarrion created an issue. See original summary.

jjcarrion’s picture

Assigned: jjcarrion » Unassigned
Status: Needs work » Needs review
StatusFileSize
new532 bytes

Here is the patch

xen’s picture

The logic in that method is pretty messed up. Could you try this patch and see if that also fixes your issue?

jjcarrion’s picture

Hi Xen,

Your patch fixes the multiple list and the illegal choice :)

  • Xen committed e9fa9ad on 8.x-2.x
    Issue #3149959 by jjcarrion, Xen: Illegal choice 1212121 32323232 in...
xen’s picture

Status: Needs review » Fixed

Commited. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.