Closed arturslo closed 1 year ago
I can't reproduce this issue. Could you please provide a GitHub repo where this bug is reproducible?
Closing as we can't recreate. Please feel free to open a new issue and explanation on how to recreate for v4 if it's still a problem.
Bug description
API tree collection does not return blueprint data for new entries when using caching Blueprint data is not returned for new records in templates when using caching This happens if Laravel CACHE_DRIVER redis or file is used
How to reproduce
Call tree collection API route after new entry is added, it will return new entry with data but blueprint property is missing this only happens if you are using cache. I expect that new entries also provide blueprint data.
Same issue in templates blueprint data is not returned for new records. Dump for new record, you can see blueprint data is missing. Dump for exsisting record contains blueprint data.
Logs
No response
Versions
Statamic 3.2.32 Pro / 3.2.33 Laravel 8.80.0 PHP 8.0.12 aryehraber/statamic-logbook 2.0.2 avalanche/audit-log dev-main avalanche/auth dev-main avalanche/available-support dev-main avalanche/contacts dev-main avalanche/events dev-main avalanche/guidelines-and-regulations dev-main avalanche/implemented-projects dev-main avalanche/news-resave dev-main avalanche/seo dev-main avalanche/subscriptions dev-main avalanche/uk-ak-portfolio dev-main avalanche/view-count dev-main
Installation
Starter Kit using via CLI
Additional details
statamic peak starter kit multisite setup (multiple languages) Collections uses multiple blueprints