-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
Description
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
- Was there some reason it is disabled?
- When calling
core:invalidate-report-data
without a--periods
parameter, it would also automatically invalidate range. This would also 'just work' in the Invalidate Reports plugin
Would be valuable to implement this feature as it would make the feature fully work and not cause people confusion.
Metadata
Metadata
Assignees
Labels
TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.For issues or pull requests that should not be included in our release changelog on matomo.org.