Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
diosmosis opened this issue Dec 16, 2013 · 1 comment
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@diosmosis
Copy link
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.

@diosmosis
Copy link
Member Author

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

@diosmosis diosmosis self-assigned this Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant