Skip to content

Creating/updating segments w/ values w/ encoded chars does not auto schedule rearchiving #17583

@diosmosis

Description

@diosmosis

Expected Behavior

Creating or updating a segment w/ an encoded value, eg, pageUrl==some%2Fpath should automatically schedule rearchiving of past data. Invalidations should appear in the archive_invalidations table and should be handled by core:archive.

Current Behavior

Creating or updating the aforementioned type of segment and running core:archive will add rows to archive_invalidations, but will not run them.

Possible Solution

Steps to Reproduce (for Bugs)

  1. Open the segment editor and create a segment with an encoded value. For example, Page URL is <url>
  2. Run core:archive. No jobs for the new segment will be created.
  3. Look in the archive_invalidations table, invalidations will exist for the new segment.

Context

Your Environment

  • Matomo Version:
  • PHP Version:
  • Server Operating System:
  • Additionally installed plugins:
  • Browser:
  • Operating System:

Metadata

Metadata

Assignees

No one assigned

    Labels

    RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions