Closed insight-media closed 5 months ago
Can you please provide more detail (including the exception) and a link to a repo that replicates the issue.
I've created a sample project: https://github.com/insight-media/statamic-scheduled-cache-invalidator-issue
Thanks for the project - this was great to play with to nail this down.
It is to do with what Statamic does with ordered and dated collections - and it falls back to the order index instead of the date field.
2.0.3 (just tagged) will address this.
Let me know how you go.
Thanks @martyf ! Works perfectly.
Huzzah! Glad it's sorted.
I've noticed an issue when a collection is configured as follows:
The NowScope will be applied, comparing the date on the 'order' field, which throws an exception.