You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that there is parameter misuse while invalidating old reports.
In https://github.com/piwik/piwik/blob/master/core/DataAccess/ArchiveInvalidator.php#L139
used parameter only says how often reports are being purged, and not for what time window. This causes that for ex. having this set to 1 day practically prevents any reports from being invalidated, regardless what is actual time window for removing old data.
I think that this parameter should be replaced with delete_logs_older_than days.
Steps to reproduce error:
enable raw data removing
try to invalidate reports older than 1 week (default data removal interval)
should cause exception and prevent reports from being invalidated, even though raw data should be still in database
The text was updated successfully, but these errors were encountered:
It seems that there is parameter misuse while invalidating old reports.
In https://github.com/piwik/piwik/blob/master/core/DataAccess/ArchiveInvalidator.php#L139
used parameter only says how often reports are being purged, and not for what time window. This causes that for ex. having this set to 1 day practically prevents any reports from being invalidated, regardless what is actual time window for removing old data.
I think that this parameter should be replaced with delete_logs_older_than days.
Steps to reproduce error:
The text was updated successfully, but these errors were encountered: