Skip to content


Subversion checkout URL

You can clone with
Download ZIP


bug in purgeOutdatedArchives (when launching archiving for year, month archives are deleted immediately after they are created) #4382

diosmosis opened this Issue · 1 comment

1 participant


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.


In 6980299: Fixes #4382, purge outdated archives after current archive is finalized.

@diosmosis diosmosis self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.