Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.98k forks source link

Empty columns block on a page render 32018 pages when printing #68794

Closed Robertght closed 1 year ago

Robertght commented 1 year ago

Quick summary

If you have an empty Columns block on page and try to print it, you won't be able to and you'll see 32018 for printing which is incorrect.

Steps to reproduce

  1. Add an empty Columns block on a page
  2. Publish the page
  3. Check the frontend and try to print it

What you expected to happen

To see the correct number of pages.

What actually happened

lufkun.png

Context

5612379-zen

Platform (Simple, Atomic, or both?)

Simple, Atomic, Self-hosted

Theme-specific issue?

No

Browser, operating system and other notes

Chrome

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

Remove the empty columns block.

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

cuemarie commented 1 year ago

📌 SCRUBBING : RESULT

📌 FINDINGS/SCREENSHOTS/VIDEO

Example: Simple Site Markup on 2022-10-11 at 10:48:51

Markup on 2022-10-11 at 10:46:13

Example: AT Site Markup on 2022-10-11 at 10:50:34

📌 ACTIONS

📌 Message to Author

vajrasar commented 1 year ago

@Robertght can you please re-check if there are any additional steps to replicate the issue?

vajrasar commented 1 year ago

Closing this, if the issue shows up again please feel free to reopen it.

Robertght commented 1 year ago

Hey! Sorry for missing this. I can't replicate the issue anymore.