-
Notifications
You must be signed in to change notification settings - Fork 24
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
Static Site Generator randomly generates entries with incorrect site URLs #170
Labels
bug
Something isn't working
Comments
In the re-implementation of #10280, the return values of fields() are cached using Blink. This also affects frontend augmentation, and it's possible for incorrect values of an entry in one language to leak into another locale of the entry. Oops. 🤷♂️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
We have a multi-site where the URLs are sometimes generated incorrectly. This can result in a URI redirecting to the wrong site language, for example, you're on the Default Site and the link leads to a different site.
How to reproduce
In my case this seems to happen with the link field type. This is my template:
This bug is completely random. It's almost impossible to reproduce, but it happens since Statamic 5. I would guess it's because of one of the new introduced cache commits, but I don't know how to create a reliable reproduction case 🤷♂️
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: