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

RSS block: fails to add feed when pasting feed URL and unexpectedly transforms to Embed block #61566

Closed
afercia opened this issue May 10, 2024 · 1 comment
Labels
[Block] RSS Affects the RSS Block - used to display entries from an RSS/Atom feed [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Regression Related to a regression in the latest release

Comments

@afercia
Copy link
Contributor

afercia commented May 10, 2024

Description

WHen pasting a feed URL in the RSS block placeholder, the block unexpectedly transforms to the Embed block and fails to render the feed. Also, the 'Undo' doesn't do anything.

This appears to be a regression as in WordPress 6.5 pasting a feed URL works as expected. See Animated GIFs.

WordPress 6.5:

6 5 rss

Latest trunk:

trunk rss

Step-by-step reproduction instructions

  • Test on WordPress 6.5
  • Create a new post and add an RSS block.
  • Paste (do not type) the following URL in the input field in the block placeholder: https://make.wordpress.org/core/feed/
  • Press Enter or click 'Use URL'.
  • Observe the block renders the feed, as expected.
  • Click 'Undo' in the top bar and observe the Undo works as expxected.
  • Test on latest trunk.
  • Repeat the steps above.
  • Observe that as soon as the URL is pasted, the RSS feed block placeholder disappears.
  • Observe a loading icon appears for a while.
  • Observe the block transforms to an Embed block.
  • Observe the feed is not rendered and the Embed block placeholder shows an error message: 'Sorry, this content could not be embedded.'.
  • Click unto in the top bar and observe it doesn't do anything.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@afercia afercia added [Type] Regression Related to a regression in the latest release [Block] RSS Affects the RSS Block - used to display entries from an RSS/Atom feed labels May 10, 2024
@t-hamano
Copy link
Contributor

This problem occurs not only with the RSS block, but with all blocks that have text fields. Since this issue was reported in #61377, I would like to close this issue.

@t-hamano t-hamano closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
@t-hamano t-hamano added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] RSS Affects the RSS Block - used to display entries from an RSS/Atom feed [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

2 participants