Skip to content

An event with a name ending with a "." will not show its segmentation in a dashboard widget. #4900

@Janne-M

Description

@Janne-M

Expected Behavior

When creating a widget for a dashboard, I can select an event, app and visualisation that supports segmentation, like bar chart.
Then I select an event from the dropdown and if that event have segmentation properties, I can selet one of those from the Breakdown list.

Current Behavior

When trying to select a segmentation property on an even where the name end with a period, ".", the breakdown list is empty.
Even if those events are visible in the All Events view, including their segmentations and option to display those elements with the segmentation. (as expected)

Screenshots (if appropriate):

Possible Solution

The workaround is of course removing the "." from the end of the Event name, but this might be a symtom of other, similar issues where the content of the event name (or segment name) might trigger other bugs like this.

Steps to Reproduce (for bugs)

Example: If I have an event called "User." with a segmentation like this: ["Country": ...]
In the All Events view I have "User." in the events list and I can select "Country" in the segmentation list and get the the graph rendered fine.
But in the Dashboard widget, after I select Events, my app, the Event "User." the Breakdown list shows up but is empty.

Your Environment

  • Operating System and version: Linux/Ubuntu 22.04.3 and Countly Lite v23.11.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions