-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Labels
answeredFor when a question was asked and we referred to forum or answered it.For when a question was asked and we referred to forum or answered it.
Description
What happened?
Using the Archive class to retrieve archived blob storage data doesn't work in a custom date range period.
If I filter the data using day/week/month/year as period, the data aggregation work as expected.
With data range period, starting date monday of the week, ending date sunday, returned dataTable is empty.
Same query with week as period, dataTable returns all expected counters.
What should happen?
Expected blob data aggregated and returned from Archive class.
How can this be reproduced?
- Create and prepare an Archiver and generate archive blob records
- Get archived data with
rangedate as period
$period = \Piwik\Common::getRequestVar('period', 'day', 'string');
$date = \Piwik\Common::getRequestVar('date', 'today', 'string');
// $period = range
$archive = Archive::build($idSite, $period, $date);
$archiveDataTable = $archive->getDataTable('Custom_Report'); // expected counters hereMatomo version
2.5.0 on premise
PHP version
8.1
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations
- Read our Contributing Guidelines.
- Follow our Security Policy.
- Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- The provided steps to reproduce is a minimal reproducible of the Bug.
Metadata
Metadata
Assignees
Labels
answeredFor when a question was asked and we referred to forum or answered it.For when a question was asked and we referred to forum or answered it.