@jmumby opened this Issue on May 11th 2022

When you use KPI widgets in the dashboard and select for example Visits and then apply a segment the spark line flat lines.


Expected Behavior

The spark line should appear the same way it does for all visits.


Current Behavior

The spark line is missing.

Steps to Reproduce (for Bugs)

  1. Add the KPI widget to your dashboard
  2. Select a metric like Visits
  3. Apply a segment

Your Environment

Matomo Cloud 11/MAY/22

@sgiehl commented on May 15th 2022 Member

This might possibly be a url encoding issue. If e.g. the segment might be encoded too often or less in the url, it might fail to load.
Not sure if there were any changes when migrating to vue maybe. Guess we should quickly check that (with browser archiving disabled).

@justinvelluppillai commented on May 24th 2022 Contributor

It'd be good to confirm whether this is a regression @sgiehl and if so we can prioritise it for the next patch release or 4.11.0

@sgiehl commented on May 24th 2022 Member

@justinvelluppillai This actually seems to be a vue regression. With Matomo 4.6. a segment like deviceType==tablet was included in the sparkline url with deviceType%3D%3Dtablet, with latest 4.x-dev it's included with deviceType%253D%253Dtablet. So it now seems encoded twice. ping @diosmosis

@heurteph-ei commented on May 24th 2022

@justinvelluppillai it was working on 4.3.1:

@diosmosis commented on May 24th 2022 Member

@sgiehl I was not able to reproduce the original problem locally, but I was able to see the double encoded segment. The fix for that is here: https://github.com/matomo-org/matomo/pull/19260. Can you check if it solves the original problem?

@justinvelluppillai commented on May 24th 2022 Contributor

thanks @sgiehl and @diosmosis

This Issue was closed on May 25th 2022
Powered by GitHub Issue Mirror