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
problem with some segments not being pre-processed #4827
Comments
This was fixed in 4fdd05a |
Wrong fix + needs tests |
Problem is fixed. tests are still not running so leaving ticket opened Todo:
|
…test both cases: with, or without URL encoding
This should mostly work now. There are still tests to be un-commented in: https://github.com/piwik/piwik/blob/master/tests/PHPUnit/System/ArchiveCronTest.php#L32-65 I've created an issue to look into: Activate all CronArchive system tests #6753 |
Hi, The widgets do not show any contents when the following segment is used: pageUrl=@site.domain.com%2Flocation%2Fxyz%2Fen-us%2Forg%2Faaa%2Fbbb%20ccc%20ddd%20eee but it displays data when using: pageUrl=^site.domain.com%2Flocation%2Fwxyz%2Fen-us%2Forg%2Faaa%2Fbbb It looks like %20 is not working correctly for segmentation. Also exact matches with blanks in the URL are not working. Example: pageUrl==site.domain.com%2flocation%2fxyz%2fen-us%2forg%2faaa%2fbbb%20ccc%20ddd%20eee%2fpages%2ftools.aspx we also tried to use + instead of %20 with no difference pageUrl==site.domain.com%2flocation%2fxyz%2fen-us%2forg%2faaa%2fbbb+ccc+ddd+eee%2fpages%2ftools.aspx |
Hi @iMarkus Thanks for the report! since this issue is already closed, could you please copy it in a new issue? |
Hi mattab, as we are piwik pro customers i opened a ticket. Regards, |
Using latest stable Piwik version (2.1.0) we found following bug in segments processing in UI. It basically comes to redundant url-decoding action during display of segmented widgets. Basically it works like that:
Select test2(with space in content) - you'll notice that graph is empty.
Moving deeper into this specific segment with space showing no data for dashboard, showed that if you enter Visitors Overview - you actually get graph displaying proper visits.
Here are segment strings copied from export to xml link for dashboard and Visitors Overview
dashboard: pageTitle!%3Daaaaaa%2520bbbbbbbb
visitors overview: pageTitle!=aaaaaa bbbbbbbb
that brings me to conclusion that segment string from UI request isn't passed well to API request for given widget in dashboard?
Keywords: segment, cron archive
The text was updated successfully, but these errors were encountered: