Opened 2 years ago

Closed 2 years ago

#2831 closed Bug (fixed)

BUG: IndexedBySite will not get all data when asked for metrics from different reports

Reported by: capedfuzz Owned by:
Priority: normal Milestone:
Component: Core Keywords:
Cc: Sensitive: no


If the IndexedBySite Archive object is used to get metrics from two different reports (like, 'nb_visits' and 'Goal_revenue') at the same time, only metrics from one report will be retrieved.

Change History (1)

comment:1 Changed 2 years ago by capedfuzz (diosmosis)

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

(In [5603]) Fixes #2831. Details:

  • Modified IndexedBySite to to prepare each archive once for every report necessary (as determined by requested metrics) when archiving via the browser is enabled.
  • Modified it to check for 'done' flags of every appropriate plugin when archiving via the browser is disabled.
  • Created static version of Archive_Single method 'getRequestedReport'.
Note: See TracTickets for help on using tickets.