Skip to content
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 our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear cached Liquid template scope before render #7967

Merged
merged 2 commits into from Apr 13, 2020

Conversation

ashmaroli
Copy link
Member

@ashmaroli ashmaroli commented Jan 8, 2020

  • This is a 馃悰 bug fix.
  • No unit-tests.

Summary

Since Liquid::Templates are now cached, ensure that every render starts with a clean context.

Context

Resolves #7811

@ashmaroli ashmaroli marked this pull request as ready for review January 12, 2020 10:07
@ashmaroli ashmaroli added the fix label Jan 12, 2020
@ashmaroli ashmaroli added this to the 4.1 milestone Jan 12, 2020
@ashmaroli ashmaroli requested review from a team January 12, 2020 10:09
Copy link
Member

@DirtyF DirtyF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃槄

@DirtyF
Copy link
Member

DirtyF commented Apr 13, 2020

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit 67380a2 into jekyll:master Apr 13, 2020
@jekyllbot jekyllbot added the bug label Apr 13, 2020
jekyllbot added a commit that referenced this pull request Apr 13, 2020
@ashmaroli ashmaroli deleted the clear-template-assigns branch April 26, 2020 08:53
ashmaroli added a commit to ashmaroli/jekyll that referenced this pull request Apr 26, 2020
Clear cached Liquid template scope before render
This backports 67380a2 to 4.0-stable
ashmaroli added a commit that referenced this pull request Apr 26, 2020
Clear cached Liquid template scope before render
This backports 67380a2 to 4.0-stable
@jekyll jekyll locked and limited conversation to collaborators Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jekyll 4.0 gets confused about page variables
3 participants