Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months 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: 5.8
Component: Editor Keywords: has-patch has-unit-tests
Focuses: Cc:


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
4 months ago

  • Milestone changed from Awaiting Review to 5.8

#2 @desrosj
4 months 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.

4 months ago

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

4 months 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
4 months 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
4 months 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.