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
…ps (mkrauser)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[Mime] Add `TemplatedEmail::$locale` to the serialized props
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? |no
| Deprecations? | no
| Issues | Fix#52718
| License | MIT
To use the locale-property when working with Symfony Messenger asynchronously it has to be serialized.
Commits
-------
cedb7cc [Mime] Add `TemplatedEmail::$locale` to the serialized props
Symfony version(s) affected
6.4
Description
In #51690 the locale-property was added to TemplatedEmail, but this property is not serialized.
If Mails are sent asynchronously via the Messenger-Component, the locale-value is not available, once the TemplatedEmail is rendered.
How to reproduce
Create and sent a TemplatedEmail with a locale and send it via a message queue. The locale-property is not serialized to the message-queue
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: