Automattic / wp-calypso

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

Post Carousel appears empty when displaying posts with no featured image set #75997

Open edwinho89 opened 1 year ago

edwinho89 commented 1 year ago

Quick summary

Post Carousel block stopped working, not displaying posts.

On the editor, the Post Carousel block loads fine.

Steps to reproduce

  1. Create a new page
  2. Insert Post Carousel Block
  3. Publish and view page

What you expected to happen

Post Carousel block loads as normal

What actually happened

Post Carousel block is not loading anything on site.

image

Impact

Most (> 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

Gutenberg: v15.6.0 Editing Toolkit: 3.62949 WP AMP: 2.0.5 CoBlocks: 2.18.1-simple-rev.3

edwinho89 commented 1 year ago

42749051-hc

edwinho89 commented 1 year ago

It now seems to work if the Post Carousel block contains posts with featured images.

Can still reproduce the above when posts do not have featured images.

cuemarie commented 1 year ago

Looks like this has been escalated a couple places:

@liviopv asked within the thread p1681980701470919/1681969428.792429-slack-C02FMH4G8:

Is the block supposed to work without Featured Images?

But that's been a little buried by some higher priority escalated issues following the release of Gutenberg 15.6.

Seems like we should find that out next. I'll also test if the block behaved this way before 15.6 (I have a sense it did, and this is not specifically tied to that release - but I'll know more a little later!)

cuemarie commented 1 year ago

📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain

📌 FINDINGS/SCREENSHOTS/VIDEO

Possibly a symptom/regression of https://github.com/Automattic/newspack-blocks/issues/542 ?

Screenshots/Recordings

Editor Experience

https://user-images.githubusercontent.com/27249804/233498104-cbbb2706-0840-408d-93e3-b3636f8eac5c.mp4

Other Notes

This bug: https://github.com/Automattic/wp-calypso/issues/73069 exhibits the same symptom, but is triggered when a classic block sets pages to not display featured images, impacting this block as well.

📌 ACTIONS

cuemarie commented 1 year ago

I still think some understanding of what should happen is needed. Here's a very similar report, where HE's/Users expected that posts missing featured images would not be shown at all: https://github.com/Automattic/wp-calypso/issues/55258

rw-ye commented 1 year ago

Another report: 6267935-zd-woothemes

github-actions[bot] commented 1 year ago

Support References

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

Gustavo-Hilario commented 1 year ago

Another report: 6402712-zen

adelineyaw commented 1 year ago

User report: 6462694-zen

aleone89 commented 1 year ago

Another report here: https://wordpress.com/forums/topic/carousel-not-displaying-blog-posts/

Because there's no other block like this, I've suggested using a Blog Post block whilst this is broken and unusable.

renata-franco commented 1 year ago

New one 6740498-zd. User wants an email when this is fixed.