Account created on 14 December 2018, over 6 years ago
#

Merge Requests

More

Recent comments

I found 3 more issues:

1. Version 2.0.0 should be compatible with D10, however it still uses removed methods, for example file_create_url and file_url_transform_relative
2. The block is not changed after changing the config from the backend form, it remains cached.
3. Because the block is cached, it won't be hid when it's configured to.

I think I fixed the first 2 issues in the same PR, can you please check?
https://git.drupalcode.org/project/announcement_modal/-/merge_requests/5

Hi all,

I submitted a PR that mitigates the issue, can you have a look on it?
I try to load the raw config using the language the email needs and from that I build an easy email type entity to use moving forward.

If the language is not provided or the config is missing the code runs as before.

In the current implementation, the SMTP settings are overridden globally within the request context when $this->smtpConfig->setSettingsOverride($config) is called for custom credentials. This override does not automatically reset after each email is sent. Therefore, if multiple emails are sent in a single request, they will all continue to use the overridden credentials unless explicitly reset.

The mail() function in this setup doesnโ€™t independently refresh the SMTP configuration for each message based on the message ID. Instead, it relies on the active configuration within the request scope. So, without a manual reset to the default settings after each email, any additional emails sent within the same request will retain the credentials from the first override.

To prevent this unintended persistence, weโ€™d need to explicitly reset the SMTP configuration to its defaults after each email or apply a different instance-based configuration that isolates credentials per email.

Please test and let me know how it went.

It seems like there was another problem.
Fixed it by unlocking the order when the payment failed.

Also added the "url" cache context.

Paid versions that want to change the language prefix always have the cached version on each page.

leontin โ†’ made their first commit to this issueโ€™s fork.

leontin โ†’ made their first commit to this issueโ€™s fork.

Production build 0.71.5 2024