In core:invalidate-report-data add support for invalidating date range #14178
Labels
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
Currently for some reason,
core:invalidate-report-data
command does not support invalidating date range reports.As a user, when I use the GDPR controls to delete some visitor data, or in general whenever I delete some wrong data and then I invalidate reports, I'd expect (and need) all reports to be fully invalidated. Currently, "range" reports are not invalidated. So my range reports will still show old data while all others (day, week, month, years) work fine as expected.
The code where it is done: https://github.com/matomo-org/matomo/blob/3.9.0-b3/plugins/CoreAdminHome/Commands/InvalidateReportData.php#L126
core:invalidate-report-data
without a--periods
parameter, it would also automatically invalidate range. This would also 'just work' in the Invalidate Reports pluginWould be valuable to implement this feature as it would make the feature fully work and not cause people confusion.
The text was updated successfully, but these errors were encountered: