You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After recently upgrading a site from Drupal 9 to 10, and this package from 2.9.1645644008 to 3.5.1709296836, we're having issues with editing mailings. Specifically, when you click on the "TEST" button to send a test email, the modal pops up, but none of the form elements on the modal are clickable: the preview buttons aren't clickable, I can't change the test email destination, nor click on the Send test button).
Quick follow-up: I've tried installing earlier versions of the extension from the latest 3.5 all the way back to 2.11. I don't see the above error message in 3.4 and before, but all the controls in the modal are still disabled and unclickable.
I can tab through the fields in the modal and update the test email field, for example, but using the cursor to click on things doesn't work.
I think the issue can be traced back to this function in ang/crmMosaico/Variants.js:
// isSplit(mailing): Determine if there are -any- split/variant fields.// isSplit(mailing, field): Determine if a -specific- field has variations.
isSplit: functionisSplit(mailing,field){if(!mailing.template_options||!mailing.template_options.variants){returnfalse;}if(field){return(fieldinmailing.template_options.variants[0]);}constnonEmpties=_.filter(mailing.template_options.variants,(v)=>!_.isEmpty(angularObj(v)));returnnonEmpties.length>0;}
For some reason that function is called with mailing being undefined, and then it barfs. I'm not sure if it's as simple as adding a check for that in the function itself, or if something else is happening upstream.
After recently upgrading a site from Drupal 9 to 10, and this package from 2.9.1645644008 to 3.5.1709296836, we're having issues with editing mailings. Specifically, when you click on the "TEST" button to send a test email, the modal pops up, but none of the form elements on the modal are clickable: the preview buttons aren't clickable, I can't change the test email destination, nor click on the Send test button).
When the modal opens, I get the following error in Chrome dev tools in the following file https://example.ca/sites/default/files/civicrm/persist/contribute/dyn/angular-modules.8d867be56648f37143ace17e16449636.js
Any ideas what's happening? I'm not sure this is an issue with my install, or the upgrade, or if I missed a step.
The text was updated successfully, but these errors were encountered: