diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-11-26 17:35:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 17:35:41 +0300 |
commit | 7f1ba0936c83e06356a58396be55cbb4abaf0e1b (patch) | |
tree | 7b045d1a4f87d05a566880abbaa29003460e2560 /plugins/CoreConsole | |
parent | 4a089cb5d0b8777e3a378af350fdb726b69afcd8 (diff) |
Fix time on page calculation in visits log (#18294)
* Try to fix time on page calculation in visits log
* fix calculation of last page view
* updates expected test files
* updates submodules
Diffstat (limited to 'plugins/CoreConsole')
4 files changed, 40 insertions, 0 deletions
diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml index 3be216dd9a..0e94a503b6 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml @@ -16,6 +16,8 @@ <pageId>3</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/community/</subtitle> @@ -141,6 +143,8 @@ <pageId>81</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://www.included4.com/blog/category/meta/</subtitle> @@ -266,6 +270,8 @@ <pageId>1</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml index f6681fee01..f8220d2333 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml @@ -256,6 +256,8 @@ <pageId>77</pageId> <bandwidth /> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>8</pageviewPosition> <title /> <subtitle>http://piwik.net/docs/manage-websites/</subtitle> @@ -366,6 +368,8 @@ <pageId>28</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> @@ -495,6 +499,8 @@ <pageId>19</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> @@ -624,6 +630,8 @@ <pageId>80</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://included3.com/blog/category/meta/</subtitle> @@ -749,6 +757,8 @@ <pageId>3</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/community/</subtitle> @@ -874,6 +884,8 @@ <pageId>81</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://www.included4.com/blog/category/meta/</subtitle> @@ -999,6 +1011,8 @@ <pageId>1</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml index 3be216dd9a..0e94a503b6 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml @@ -16,6 +16,8 @@ <pageId>3</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/community/</subtitle> @@ -141,6 +143,8 @@ <pageId>81</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://www.included4.com/blog/category/meta/</subtitle> @@ -266,6 +270,8 @@ <pageId>1</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml index f6681fee01..f8220d2333 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml @@ -256,6 +256,8 @@ <pageId>77</pageId> <bandwidth /> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>8</pageviewPosition> <title /> <subtitle>http://piwik.net/docs/manage-websites/</subtitle> @@ -366,6 +368,8 @@ <pageId>28</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> @@ -495,6 +499,8 @@ <pageId>19</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> @@ -624,6 +630,8 @@ <pageId>80</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://included3.com/blog/category/meta/</subtitle> @@ -749,6 +757,8 @@ <pageId>3</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/community/</subtitle> @@ -874,6 +884,8 @@ <pageId>81</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://www.included4.com/blog/category/meta/</subtitle> @@ -999,6 +1011,8 @@ <pageId>1</pageId> <bandwidth>3574</bandwidth> + <timeSpent>0</timeSpent> + <timeSpentPretty>0s</timeSpentPretty> <pageviewPosition>1</pageviewPosition> <title /> <subtitle>http://piwik.net/blog/category/meta/</subtitle> |