Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Outdated reports should be displayed rather than no data at all #1150

Closed
mattab opened this Issue · 1 comment

1 participant

Matthieu Aubry
Matthieu Aubry
Owner

Use case

  • set time_before_today_archive_considered_outdated to a small value, eg. 10seconds (default value)
  • disable browser archiving eg, enable_browser_archiving_triggering = 0
  • launch the crontab which processes the report
  • API requests with date=today will return data in the next 10 seconds
  • If you request API data after 10 seconds, the archive will be considered out of date and no data will be returned. Because the browser based archiving is disabled, no new archive will be processed.

This is very confusing. Instead, the outdated archive should still be returned when enable_browser_archiving_triggering = 0

Matthieu Aubry
Owner

(In [1918]) Fixes #1150 out of date reports now returned for Today when browser archiving is disabled (to ensure that some data is returned, rather than no data at all)

Matthieu Aubry mattab added this to the Piwik 0.5.5 milestone
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.