Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBridge] Fix "Serialization of 'Closure'" error when rendering an TemplatedEmail#40446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:4.4fromjderusse:twig-render
Mar 11, 2021

Conversation

@jderusse
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#40445
LicenseMIT
Doc PR

When context contains a closure, it can't be serialized. In that case, we now assume that fingerprint is always different, and in that case, email will always be re-rendered

@stof
Copy link
Member

The title of the PR should clearly be updated, to have a proper message in changelogs

derrabus, jvasseur, and jderusse reacted with thumbs up emoji

@jderussejderusse changed the titleTwig renderFix "Serialization of 'Closure'" error when rendering an TemplatedEmailMar 11, 2021
@carsonbotcarsonbot changed the titleFix "Serialization of 'Closure'" error when rendering an TemplatedEmail[TwigBridge] Fix "Serialization of 'Closure'" error when rendering an TemplatedEmailMar 11, 2021
@fabpot
Copy link
Member

Thank you@jderusse.

@fabpotfabpot merged commit9f3c30a intosymfony:4.4Mar 11, 2021
@PhilETaylor
Copy link
Contributor

Thank you@jderusse hope the report helped identify the issue easy enough for you.

jderusse reacted with thumbs up emoji

@jderussejderusse deleted the twig-render branchMarch 11, 2021 16:25
This was referencedMar 29, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@fabpotfabpotfabpot approved these changes

@derrabusderrabusderrabus approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

7 participants

@jderusse@stof@fabpot@PhilETaylor@nicolas-grekas@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp