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

Data Views: Some notices display encoded characters #60995

Closed
carolinan opened this issue Apr 23, 2024 · 3 comments
Closed

Data Views: Some notices display encoded characters #60995

carolinan opened this issue Apr 23, 2024 · 3 comments
Assignees
Labels
[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Description

If I create a page through Appearance> Editor > Pages, Add new page, and use a symbol like & in the page title, the notice
that is displayed in the editor shows the & as &.

  • It doesn't happen when I trash the same page from the data view.
  • I saw the same thing happen when duplicating pages using Add duplicate post action #60637,
  • I think further testing of other notices would be good.

Step-by-step reproduction instructions

Go to Appearance> Editor > Pages.
Select "Add new page"
Add a & to the page title, and create the draft.
Notice the content of the notice in the editor.

Screenshots, screen recording, code snippet

image

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond Needs Testing Needs further testing to be confirmed. labels Apr 23, 2024
@marcarmengou
Copy link

Reproduction Report

This report validates that the issue can be reproduced.

Environment

  • OS: Windows 10
  • Web Server: Nginx
  • PHP: 8.1.23
  • WordPress: 6.5.3
  • Browser: Chrome 125.0

Actual Results

  • ✅ Error condition occurs (reproduced).

Additional Notes

  • The coding error appears as indicated in this ticket. That if you delete the page the & character appears correctly in the tag, but when you create the page it gives a coding error. See attached image.

Supplemental Artifacts

png

@carolinan carolinan self-assigned this May 22, 2024
@carolinan
Copy link
Contributor Author

Thank you for testing.

Fixing this is on hold for a little bit because the code is being moved, example: #61879

@carolinan carolinan added [Status] Blocked Used to indicate that a current effort isn't able to move forward and removed Needs Testing Needs further testing to be confirmed. labels May 23, 2024
@carolinan carolinan removed the [Status] Blocked Used to indicate that a current effort isn't able to move forward label Jun 28, 2024
@carolinan
Copy link
Contributor Author

I will close this as completed, and if anyone finds more instances where the characters are not displaying correctly, new issues can be opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants