Automattic / wp-calypso

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

Learning Mode template intermittently broken for Atomic sites #85038

Closed donnapep closed 8 months ago

donnapep commented 9 months ago

Steps to Reproduce

  1. Go through the Sensei onboarding flow on WordPress.com as a new user.
  2. From Sensei Home, click Customize your theme. (You may need to verify your email address first if you haven't already.)
  3. Switch your Learning Mode template to Modern or Video (may also happen with other templates, but I reproduced on these).
  4. Click on Templates > Lesson (Learning Mode - Video).
  5. See errors in preview window.

NOTE: This issue is intermittent for me and I've only been able to reproduce on a WordPress.com site. If you're not able to reproduce, try leaving the site editor and then coming back in. Or switch to a different Learning Mode template first.

What I Expected

No block errors and the template to display.

What Happened Instead

I think this error is relevant as it does not appear when the template loads correctly:

Screenshot 2023-12-05 at 2 58 27 PM

Context / Source

Related https://github.com/Automattic/sensei/pull/7317

maciejpilarski commented 9 months ago

📌 REPRODUCTION RESULTS – Tested on Atomic – Could Not Replicate

📌 FINDINGS/SCREENSHOTS/VIDEO I have followed the steps to reproduce the issue, to be able to switch between the Default and Modern Appearance, I had to purchase the Sensei Pro version.

I was not able to reproduce the issue, all blocks are loading fine for me when switching templates: Markup 2023-12-11 at 19 39 14

📌 ACTIONS – Closed as could not replicate (please reopen if the issue reoccurs)

donnapep commented 9 months ago

There's a fix for this in #85051.