Skip to content

[Bug] Transition popover does not work for rows with "%" #21657

@mneudert

Description

@mneudert

What happened?

Opening the transition popover for a row containing a percent sign (%) will throw an exception:

jquery.min.js?cb=5690:2 Uncaught URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at DataTable_RowActions_Transitions.doOpenPopover (transitions.js?cb=5690:82:25)
    at Array.RowAction (dataTable_rowactions.js?cb=5690:260:47)
    at e.value (PopoverHandler.ts:77:40)
    at e.value (PopoverHandler.ts:49:12)
    at HTMLDocument.<anonymous> (PopoverHandler.ts:39:12)
    at e (jquery.min.js?cb=5690:2:30158)
    at t (jquery.min.js?cb=5690:2:30460)

What should happen?

The transition overlay should work similar to other data table row actions for all entries.

How can this be reproduced?

Track a page with % in the title, go to "Behaviour > Page titles", try to open the transitions popover.

Matomo major version

Matomo 5

Matomo minor or patch Version

rc9

PHP version

n/a

Server operating system

n/a

What browsers are you seeing the problem on?

Firefox, Chrome

Computer operating system

n/a

Relevant log output

No response

Validations

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.c: Design / UIFor issues that impact Matomo's user interface or the design overall.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions