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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$page->purge() and $site->purge() actions do not clear cached translations #2189

qwerdee opened this issue Oct 10, 2019 · 1 comment


Copy link

@qwerdee qwerdee commented Oct 10, 2019

Describe the bug
The methods $page->purge() and $site->purge() resets the models content attribute but not translations in a multilang setup.
If the content was already used before, the cached (and potentially stale) content from the translations collection get's into the model.

Expected behavior
The cached translations should also be reset to allow the model to rebuild the content fresh from the file system.


This comment has been minimized.

Copy link

@bastianallgeier bastianallgeier commented Oct 11, 2019

lukasbestle added a commit that referenced this issue Oct 15, 2019
This reverts commit a92265c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.