bug in purgeOutdatedArchives (when launching archiving for year, month archives are deleted immediately after they are created) #4382
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
To reproduce, comment out the "Rules::$purgeDisabledByTests = true;" line in UITest.php.
UITest will launch archiving for a year period. This will launch archiving for each month. Archiving finishes successfully and archive data for months with visited is present in the database. Then ArchiveSelector::purgeOutdatedArchives is called which deletes the new archive data. When year archiving continues, Piwik can't find the archive data for each month (since it was deleted), so it says there is no data.
The text was updated successfully, but these errors were encountered: