-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Runtime: Isolates scope when resolving values to prevent overriding page data #5668
Runtime: Isolates scope when resolving values to prevent overriding page data #5668
Conversation
In that issue, why would anything change on a subsequent page load? |
That I have not been able to successfully reproduce the subsequent request issue (the Runtime has no interactions with the cache directly), so that is something I'm still scratching my head about. I've tried with half-cache on/off, etc. but not been able to reproduce it on the latest 3.3 branch (before applying the data locking fix). For the other part of the issue, you can reproduce the issue on the home page. The part that matters is that the entry you link to within the Bard field is not the same as the current entry, since those details have already been loaded internally and do not trigger an additional augmentation at that point in the request life-cycle. |
I followed the steps in his issue and it happens reliably for me. On a non-home page, I can visit it, see the link. Hit refresh, it's gone, hit refresh it's still gone, and so on. Clear the cache, refresh the page, it's back! Refresh, it's gone, refresh it's gone, and so on again. Really bizarre. |
This PR does resolve it, though. |
Interesting --- I will try again on a different machine later! |
Edit: Nope, my misunderstanding. |
This PR closes #5667 by preventing a call to
shouldProcessAsTag
from overwriting the currently loaded data if it triggers an augmentation (such as when gathering the linked entry details within the bard field).This PR also closes #5698 by isolating the parser/runtime when evaluating augmented arrays.