forked from Scalingo/matomo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MergeDataTables does not correctly merge if table2 has more data than…
… table1 (matomo-org#15294) * update submodules to fix build * Handle DataTable Maps in VisitFrequency API and in DataTable merger, make sure to correctly copy child datatables. * fix some tests * Copy metadata over. * Updated expected test results. * Adding unit tests.
- Loading branch information
1 parent
6d35fb4
commit 52b2c5c
Showing
24 changed files
with
3,413 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule AnonymousPiwikUsageMeasurement
updated
1 files
+6 −0 | tests/System/expected/test___API.get_year.xml |
Submodule CustomDimensions
updated
2 files
+5 −2 | Controller.php | |
+16 −0 | tests/System/expected/test___API.getReportMetadata_day.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule MarketingCampaignsReporting
updated
2 files
+2 −2 | VisitorDetails.php | |
+8 −0 | tests/System/expected/test___API.get_day.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 21 additions & 1 deletion
22
...stem/expected/test_BackwardsCompatibility1XTest_multipleDates__VisitFrequency.get_day.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<result /> | ||
<results> | ||
<result period="2012-03-03" /> | ||
<result period="2012-03-04" /> | ||
<result period="2012-03-05" /> | ||
<result period="2012-03-06"> | ||
<nb_uniq_visitors_returning>1</nb_uniq_visitors_returning> | ||
<nb_users_returning>0</nb_users_returning> | ||
<nb_visits_returning>1</nb_visits_returning> | ||
<nb_actions_returning>1</nb_actions_returning> | ||
<nb_visits_converted_returning>1</nb_visits_converted_returning> | ||
<bounce_count_returning>1</bounce_count_returning> | ||
<sum_visit_length_returning>0</sum_visit_length_returning> | ||
<max_actions_returning>1</max_actions_returning> | ||
<bounce_rate_returning>100%</bounce_rate_returning> | ||
<nb_actions_per_visit_returning>1</nb_actions_per_visit_returning> | ||
<avg_time_on_site_returning>0</avg_time_on_site_returning> | ||
</result> | ||
<result period="2012-03-07" /> | ||
<result period="2012-03-08" /> | ||
<result period="2012-03-09" /> | ||
</results> |
25 changes: 24 additions & 1 deletion
25
...m/expected/test_BackwardsCompatibility1XTest_multipleOldNew__VisitFrequency.get_month.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<result /> | ||
<results> | ||
<result period="2012-03"> | ||
<nb_uniq_visitors_returning>0</nb_uniq_visitors_returning> | ||
<nb_users_returning>0</nb_users_returning> | ||
<nb_visits_returning>1</nb_visits_returning> | ||
<nb_actions_returning>1</nb_actions_returning> | ||
<nb_visits_converted_returning>1</nb_visits_converted_returning> | ||
<bounce_count_returning>1</bounce_count_returning> | ||
<sum_visit_length_returning>0</sum_visit_length_returning> | ||
<max_actions_returning>1</max_actions_returning> | ||
<bounce_rate_returning>100%</bounce_rate_returning> | ||
<nb_actions_per_visit_returning>1</nb_actions_per_visit_returning> | ||
<avg_time_on_site_returning>0</avg_time_on_site_returning> | ||
</result> | ||
<result period="2012-04" /> | ||
<result period="2012-05" /> | ||
<result period="2012-06" /> | ||
<result period="2012-07" /> | ||
<result period="2012-08" /> | ||
<result period="2012-09" /> | ||
<result period="2012-10" /> | ||
<result period="2012-11" /> | ||
<result period="2012-12" /> | ||
</results> |
Oops, something went wrong.