Invalidating reports may fail because of log delete settings #4568

mattab opened this Issue Jan 23, 2014 · 1 comment

1 participant

Piwik Open Source Analytics member

How to reproduce original error:

  • Enable log deleting in config.ini.php with small interval (i.e. 1 day)
  • override those options via UI with bigger interval (i.e. 90 days)
  • try to use invalidateArchivedReports() method with date between 1 and 90 days back from today - it will cause warning and reports for given date will not be invalidated even though they actually could be.

see #206

Piwik Open Source Analytics member

In 2d41d1e: Merge pull request #206 from clearcode/addedMissingOptionCheckToInvalidateArchivedReports

Switched from reading raw config values to reusing the helper method, fixes #4568

@mattab mattab added this to the 2.1 - Piwik 2.1 milestone Jul 8, 2014
@mattab mattab 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