Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[Vue] do not decode model value of site name in site selector, so it is always matches the DB value" #18364

Merged
merged 1 commit into from Nov 23, 2021

Conversation

diosmosis
Copy link
Member

Reverts #18356

From more investigation, the merged PR looks like it will cause regressions:

So it is just piwik.siteName that isn't decoded I think? I'll look at fixing this another quick way, though there are a lot of inconsistencies that need to be ironed out here.

…, so it is always matches the DB value (#18356)"

This reverts commit 8c7539f.
@diosmosis diosmosis added the Needs Review PRs that need a code review label Nov 23, 2021
@diosmosis diosmosis added this to the 4.7.0 milestone Nov 23, 2021
@peterhashair
Copy link
Contributor

peterhashair commented Nov 23, 2021

Test it works for me. @diosmosis maybe there is a little tiny bug, not really relevant. so when you copy a full text to the search autocomplete, it does trigger the search for the first time.

image
image

@sgiehl
Copy link
Member

sgiehl commented Nov 23, 2021

@peterhashair The reverted PR aimed to fix that the site selector as form field might display the pre selected value with htmlentities. You can see that when creating an alert.

@sgiehl
Copy link
Member

sgiehl commented Nov 23, 2021

@diosmosis feel free to merge. If you see more inconsistencies that you are not going to fix with your PRs might be good to create issues for it, so we maybe can improve that another time.

@diosmosis
Copy link
Member Author

@peterhashair I think this is what you're referring to? #18367

@diosmosis
Copy link
Member Author

@sgiehl will merge, the site name encoding issues are pretty longstanding (as I'm sure you're aware), they'll have to be fixed properly in matomo 5... though it seems much more complicated than I originally thought it was...

@diosmosis diosmosis merged commit 5e61d02 into 4.x-dev Nov 23, 2021
@diosmosis diosmosis deleted the revert-18356-vue-siteselector-decode-fix branch November 23, 2021 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants