-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
404 error on item view after first save - using static cache (half strategy) #9668
Comments
A client has also reported the same issue to us regarding their site also using half strategy caching. |
Bumping as I'm also experiencing the same issue on multiple sites. It seems to happen regardless of the caching strategy and save method. Either clicking the 'Save & Publish' button or hitting Cmd+S will result in a 404 unless saved a second time. I'm able to replicate this issue consistently on sites running Update: Setting the 'Max Depth' field to anything other than blank causes the issue, irrespective of eloquent or flat file. Keeping that field blank solves the problem |
@jamie-b5 @CjRootStudio I have similar issue. Does the 404 error disappear when you save the entry and then warm or refresh the Stache instead of saving the entry a second time? |
This seemed to be resolved for us by upgrading the core Statamic version FYI. |
Thanks Jamie - did you upgrade to version 5 or is there a version 4 release that fixed it for you? |
I think #10135 fixed it. Can you confirm that? It was released yesterday. |
Bug description
We are using static caching. Half strategy.
When we add an item to a collection and hit save the front end item url throws a 404. It does this until we save the item a second time, at which point the url resolves to the correct record.
How to reproduce
Logs
No response
Environment
Installation
Other (please explain)
Antlers Parser
None
Additional details
Statamic install - cloned from a slightly earlier repo then updated.
The text was updated successfully, but these errors were encountered: