Opened 4 years ago

Closed 4 years ago

#1150 closed Bug (fixed)

Outdated reports should be displayed rather than no data at all

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.5.5
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (1)

comment:1 Changed 4 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(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)

Note: See TracTickets for help on using tickets.