Skip to content

In core:invalidate-report-data add support for invalidating date range #14178

@mattab

Description

@mattab

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

No one assigned

    Labels

    TaskIndicates 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.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions