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

Latest Posts Blocks don't retrieve content reliably #6277

Closed
maddisondesigns opened this issue Apr 19, 2018 · 1 comment · Fixed by #8584
Closed

Latest Posts Blocks don't retrieve content reliably #6277

maddisondesigns opened this issue Apr 19, 2018 · 1 comment · Fixed by #8584
Labels
Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended

Comments

@maddisondesigns
Copy link

maddisondesigns commented Apr 19, 2018

Issue Overview

The Latest Posts block don't always retrieve the Latest Posts.

I had a page with 2 Latest Posts blocks (image below), and when I tried to edit the page, none of them showed any content.

I also had a page with 6 Latest Posts blocks (showing the different options such as Grid, List, Wide etc). Out of 6 Blocks, 3 showed content and 3 didn't.

gutenberg-latestposts

Steps to Reproduce (for bugs)

  1. Insert multiple Latest Posts blocks into content and save
  2. Close page
  3. Edit page with Latest Posts Blocks

Expected Behavior

Latest Posts Block should always show content when editing the page

Current Behavior

Latest Posts Block don't reliably retrieve content

Gutenberg 2.7.0
Firefox Quantum 59.0.2 (64-bit)
WP 4.9.5

@maddisondesigns maddisondesigns changed the title Latest Posts Blocks don't reliably retrieve content Latest Posts Blocks don't retrieve content reliably Apr 19, 2018
@pento
Copy link
Member

pento commented Apr 20, 2018

Thanks for the bug report, @maddisondesigns!

I'm able to reproduce the same behaviour, there seems to be a race condition somewhere in the API response handling. I'll have to do a bit more digging to see what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants