Erroneously logging
Permalink Browser Info Environment
Hi,
I just gave it a try on a test instance (c5 8.5.2) and found a bug.
If "Always track user locale" option in System&Settings - Multilingual Setup is disabled the visitor logging is erroneous. It logs correctly the first visitor and after that it will group any visit from any visitor under the second visitor record.
I believe it has something to do with this piece of code in record.php
You are using the combination of $session_id and date to retrieve the history but the $session_id is empty starting from the second visitor hence the grouping of all the visitors under the second one during a day.
Enabling "Always track user locale" is instantly resolving this issue but is there any way for this to work with that option disabled?
Thanks.
I just gave it a try on a test instance (c5 8.5.2) and found a bug.
If "Always track user locale" option in System&Settings - Multilingual Setup is disabled the visitor logging is erroneous. It logs correctly the first visitor and after that it will group any visit from any visitor under the second visitor record.
I believe it has something to do with this piece of code in record.php
$session = Core::make('session'); $session_id = $session->getId();
You are using the combination of $session_id and date to retrieve the history but the $session_id is empty starting from the second visitor hence the grouping of all the visitors under the second one during a day.
Enabling "Always track user locale" is instantly resolving this issue but is there any way for this to work with that option disabled?
Thanks.
Type: | Discussion |
---|---|
Status: | New |