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:
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
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
Wrong fix + needs tests
In de8c6053897e758c677f1482c2db72c58b4973e5: Refs #4827 Adding test case: segment is pre-processed, and test both cases: with, or without URL encoding
In a6963a94546f15a0ee2ca83bf95d7549d117d39f: Refs #4827 Forgot to commit test fixture changes
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
we are currently facing such issues with Piwik 2.16.2
The widgets do not show any contents when the following segment is used:
but it displays data when using:
It looks like %20 is not working correctly for segmentation. Also exact matches with blanks in the URL are not working. Example:
we also tried to use + instead of %20 with no difference
Hi @iMarkus Thanks for the report! since this issue is already closed, could you please copy it in a new issue?
as we are piwik pro customers i opened a ticket.