chr1d
March 10, 2022, 8:32am
1
Since updating to Matomo 4.8.0 sometimes an old entry is put to the front in the real time page. This only happens after the ajax requests has been made, no on initial load of the real time page.
1 Like
Is it related to:
opened 08:06PM - 09 Mar 22 UTC
closed 09:14AM - 17 Mar 22 UTC
Bug
Regression
## Expected Behavior
On XHR request to `https://my-domain/index.php?date=today&… module=Live&action=getLastVisitsStart&segment=&idSite=1&period=day`, real time visitors list is refreshed and hovering visitor log icons display a tooltip.
## Current Behavior
If mouse is hovering a visitor log icon when XHR request to `https://my-domain/index.php?date=today&module=Live&action=getLastVisitsStart&segment=&idSite=1&period=day` happens, real time visitors list get messed up, stop refreshing and hovering visitor log icons does not display a tooltip.
## Steps to Reproduce (for Bugs)
1. Mouse hover any visitor log icon except the `View Visitor Profile`
2. Wait for XHR request to `https://my-domain/index.php?date=today&module=Live&action=getLastVisitsStart&segment=&idSite=1&period=day` to happens.
3. Any visitors details above the one who triggered the bug will get removed from the list and real time visitors won't refresh anymore until page is refreshed
## Your Environment
* Matomo Version: 4.8.0 (Updated from 4.7.1 via dashboard)
* PHP Version: 8.1
* Server Operating System: Ubuntu
* Additionally installed plugins: Bot Tracker
* Browser: Chrome / Firefox
* Operating System: Windows 10
## Error log
```prolog
Uncaught TypeError: can't access property "tooltip", this._find(...) is null
remove https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
i https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
dispatch https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:5
handle https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:5
trigger https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
triggerHandler https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
cleanData https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
cleanData https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:114
va https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:5
remove https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:5
_parseItem https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2487
V.widget/</a[e]< https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
_parseResponse https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2485
V.widget/</a[e]< https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
_update https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2481
success https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:3197
i https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:4
fireWith https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:4
z https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
c https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
send https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
ajax https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
value https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:3197
value https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:3197
_update https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2484
V.widget/</a[e]< https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
updateInterval https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2484
setTimeout handler*_update/< https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2484
success https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:3197
i https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:4
fireWith https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:4
z https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
c https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
send https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
ajax https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:6
value https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:3197
value https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:3197
_update https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2484
V.widget/</a[e]< https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:19
updateInterval https://my-domain/index.php?module=Proxy&action=getCoreJs&cb=a9692c9ae5fea1d8b6944a115f152776:2490
index.php:19:251797
```
?
If not, I think you can create a new issue in the Matomo GitHub repo:
1 Like
chr1d
March 10, 2022, 10:05am
3
Looks like this causes the problem. Waiting for the next version, hopefully soon. Thanks!
1 Like