Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Mime]TemplatedEmail::$locale is not serialized #52718

Closed
@mkrauser

Description

@mkrauser

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions