Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Live.getLastVisitsDetails with visitStartServerHour returns different server time #22752

Open
4 tasks done
rcontiuk opened this issue Nov 12, 2024 · 0 comments
Open
4 tasks done
Labels
Bug For errors / faults / flaws / inconsistencies etc. triaged

Comments

@rcontiuk
Copy link

What happened?

Running the following API call, Live.getLastVisitsDetails with segment=visitStartServerHour==XX does not return visits with XX server time for initial few rows:

https://demo.matomo.cloud/index.php?module=API&method=Live.getLastVisitsDetails&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous&segment=visitEndServerDate==2024-11-11;visitStartServerHour==20

This was tested with other Cloud instances and produces similar results. See two examples below:

API call 01
image

image

API call 02
image

image

What should happen?

The API call should return all visits that matches the criteria segment=visitStartServerHour==XX.

How can this be reproduced?

Can be reproduced in several Cloud instances.

Matomo version

Cloud

PHP version

No response

Server operating system

No response

What browsers are you seeing the problem on?

Not applicable (e.g. an API call etc.)

Computer operating system

No response

Relevant log output

No response

Validations

@rcontiuk rcontiuk added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Nov 12, 2024
@randy-innocraft randy-innocraft added the Bug For errors / faults / flaws / inconsistencies etc. label Nov 12, 2024
@ronak-innocraft ronak-innocraft added triaged and removed Bug For errors / faults / flaws / inconsistencies etc. To Triage An issue awaiting triage by a Matomo core team member labels Nov 12, 2024
@randy-innocraft randy-innocraft added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. triaged
Projects
None yet
Development

No branches or pull requests

3 participants