Skip to content

Console: invalidating reports with segment based on custom Dimensions fails #14344

@peterbo

Description

@peterbo

For example:
/path/to/matomo/console core:invalidate-report-data --dates=2019-03-11,2019-03-11 --sites=5 --segment="dimension2==Test123"
In this case, dimension2 is an action dimension set up and active for this site-ID.

Fails with
[Exception] Segment 'dimension2' is not a supported segment.

Probably because the custom dimensions are not correctly returned by getSegmentMetadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions