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

Blog Posts Merging Content in Query Block #60209

Closed ChrissiePollock closed 1 year ago

ChrissiePollock commented 2 years ago

Quick summary

The customer had two blog posts. They had the Query block on their home page. The first post was perfect. The second showed the Featured image and title of the second post, but displayed the content of the first post.

Screen Shot 2022-01-18 at 12 21 29

741744-hc

Steps to reproduce

I was not able to replicate on my test site. The customer has a Premium plan.

What you expected to happen

Each post would show their own unique content.

What actually happened

The content of the first post merged into the second.

Context

No response

Simple, Atomic or both?

No response

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

No response

Severity

No response

Available workarounds?

No response

Workaround details

I had them use the Posts block instead.

Greatdane commented 2 years ago

Unable to replicate this, and user no longer has it on their blog. Closing this for now, we can re-open if the issue is replicated.

JessBoctor commented 2 years ago

I ran into this again in #34270386-HC

In this case, the customer's first post content was being merged across pagination pages

filipanoscampos commented 2 years ago

Another case here: #34741194-hc, and then continued here 4871137-zd-woothemes

I should add that when the sticky post is removed, the Query Loop starts behaving strangely.

The content was then shown on the first post listed on the second blog post list page.

After the user added another post, the issue changed. A Featured Image appeared beneath the first blog post listed on every Blog Post List page. And beneath the single posts.

We shared some CSS with the user. Yet, every time a change is made, we need to change the CSS to solve a new and unexpected issue.

eduardozulian commented 2 years ago

On top of what @filipanoscampos wrote, I think we have another workaround here.

If the page has only a single query block, check the Inherit query from template option on My Site > Site Editor > Template > Index. This will turn paginations from ?query-1-page=2 to `/page/2/. Since the user in 4871137-zen has only a single query on a blog page, it could help.

I tried to reproduce the actual problem on my end but no luck.

Addison-Stavlo commented 2 years ago

Is this issue still being experienced?

github-actions[bot] commented 2 years ago

Support References

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

Addison-Stavlo commented 1 year ago

Closing since this isnt replicated or had any noted issues since march. Feel free to ping/re-open if its still an issue!