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

diosmosis opened this Issue Dec 16, 2013 · 1 comment

1 participant

Piwik Open Source Analytics member

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.

Piwik Open Source Analytics member

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

@diosmosis diosmosis self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment