WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 7 days ago

Last modified 7 days ago

#53309 closed defect (bug) (fixed)

Error when loading the pages list block

Reported by: Chouby Owned by: youknowriad
Milestone: 5.8 Priority: normal
Severity: normal Version: trunk
Component: Editor Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

Test made with WordPress 5.8-alpha-51034

The block editor allows to add a new "Pages list" block. When added, the block displays:

Error loading block: Invalid block.

It looks like the block merge was incomplete.

Change History (7)

#1 @SergeyBiryukov
2 weeks ago

  • Milestone changed from Awaiting Review to 5.8

#2 @desrosj
7 days ago

@Chouby thanks for this! I've confirmed this is also happening for me, even after the latest update to the block editor packages in [51089]. I'll flag this for attention in #core-editor as well.

This ticket was mentioned in Slack in #core-editor by desrosj. View the logs.


7 days ago

This ticket was mentioned in PR #1352 on WordPress/wordpress-develop by youknowriad.


7 days ago

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/53309

This backports the php code required for the page list block that was missed previously.

#6 @youknowriad
7 days ago

  • Owner set to youknowriad
  • Resolution set to fixed
  • Status changed from new to closed

In 51105:

Block Editor: Include the page list block server-side code.

On a previous package update, this block's server-side code has been missed.
This was causing the block to not render properly.

Props Chouby, desrosj, mcsf.
Fixes #53309.

#7 @ryelle
7 days ago

In 51109:

Block Editor: Ignore generated CSS files in Page List and Post Template blocks.

Add SVN ignore property to match existing rule in .gitignore.

Follow up to [51101], [51105].
See #52991, #53309.

Note: See TracTickets for help on using tickets.