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

Related Posts Block Does Not Render on live site in Atomic or Self-Hosted #33958

Closed
masperber opened this issue Nov 3, 2023 · 7 comments · Fixed by #33994
Closed

Related Posts Block Does Not Render on live site in Atomic or Self-Hosted #33958

masperber opened this issue Nov 3, 2023 · 7 comments · Fixed by #33994
Assignees
Labels
[Block] Related Posts Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Misc Blocks Other Jetpack blocks. [Feature] Related Posts [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack [Platform] Atomic [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Pri] High [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack Triaged [Type] Bug When a feature is broken and / or not performing as intended

Comments

@masperber
Copy link
Contributor

Impacted plugin

Jetpack

Quick summary

The Related Posts Block can be added to a Single Post template to display some posts related to the single post. This block currently is not working on WoA sites.

Steps to reproduce

  1. Create a WoA site with an FSE theme.
  2. Create a sufficient number of posts to display related posts.
  3. Add a Related Posts Block to the Single Post template.
  4. View any post.

A clear and concise description of what you expected to happen.

The Related Posts should appear when viewing a single post.

What actually happened

The Related Posts do not appear, as if the block had never been added to the template.

Impact

All

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Atomic

Logs or notes

No response

@masperber masperber added [Type] Bug When a feature is broken and / or not performing as intended [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ Needs triage Ticket needs to be triaged [Feature] Misc Blocks Other Jetpack blocks. labels Nov 3, 2023
@github-actions github-actions bot added the [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack label Nov 3, 2023
@cuemarie
Copy link

cuemarie commented Nov 3, 2023

FYI @jeherve

We did some troubleshooting in slack here: p1699028133608839-slack-C03TY6J1A

The key test was that @masperber had a Simple site with Related Blocks appearing, and then once the site was AT'd, they stopped appearing.

@masperber
Copy link
Contributor Author

WordPress.com customers requesting updates when the bug is fixed:

7253281-zen
7257583-zen

@masperber masperber removed the Needs triage Ticket needs to be triaged label Nov 3, 2023
Copy link
Contributor

github-actions bot commented Nov 3, 2023

Support References

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

  • 7253281-zen
  • 7257583-zen
  • 7251413-zen
  • 7264053-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Nov 3, 2023
@hacchism
Copy link

hacchism commented Nov 3, 2023

Another report on 7251413-zen
User wants an update when the bug is fixed

@poeticabdul
Copy link

Another report 7264053-zen . They will need an update when this is fixed.

@cuemarie cuemarie added the Needs triage Ticket needs to be triaged label Nov 6, 2023
@cuemarie
Copy link

cuemarie commented Nov 6, 2023

📌 REPRODUCTION RESULTS

  • Tested on Atomic – Replicated
  • Replicable outside of Dotcom – Yes

📌 FINDINGS/SCREENSHOTS/VIDEO
Replicated using the following tests:

  1. Set up Related posts on a simple site
  2. Transfer the site AT

After going AT, I'm prompted to "Activate" related posts in the editor, but even after doing so, Related Posts do not appear on the site.

xsDwO5.mp4

I then reverted the site back to Simple, and the Related posts appear again, (though with some formatting discrepancies, likely deriving from the revert somewhere):
Markup on 2023-11-06 at 12:03:23


On a self-hosted site with 80 published posts using a few different categories & tags, I also don't see the Related Posts block appear on the live site after adding it to the Single Posts template.

📌 ACTIONS

  • Triaged
  • CC @jeherve sorry for the double ping, just want to make sure this one gets to Jetpack since it may be impacting self-hotsed as well 👍

@cuemarie cuemarie added [Block] Related Posts Triaged and removed Needs triage Ticket needs to be triaged labels Nov 6, 2023
@cuemarie cuemarie changed the title WoA - Related Posts Block Does Not Render Related Posts Block Does Not Render on live site in Atomic or Self-Hosted Nov 6, 2023
jeherve added a commit that referenced this issue Nov 7, 2023
Fixes #33958

In #33682, we removed FEATURE_NAME, even though we still relied on that constant downer in the file. This should now fix things.
@jeherve jeherve self-assigned this Nov 7, 2023
@jeherve
Copy link
Member

jeherve commented Nov 7, 2023

This is now fixed in the development version of the Jetpack plugin. We're discussing the timeline of actually deploying the fix to WoA and self-hosted sites here:
p1699379370771109-slack-C01U2KGS2PQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Related Posts Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Misc Blocks Other Jetpack blocks. [Feature] Related Posts [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack [Platform] Atomic [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Pri] High [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack Triaged [Type] Bug When a feature is broken and / or not performing as intended
Development

Successfully merging a pull request may close this issue.

5 participants