Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#53309 closed defect (bug) (fixed)

Error when loading the pages list block

Reported by: chouby's profile Chouby Owned by: youknowriad's profile 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
3 years ago

  • Milestone changed from Awaiting Review to 5.8

#2 @desrosj
3 years 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.

3 years ago

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

3 years ago

  • Keywords has-patch has-unit-tests added

Trac ticket:

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

#6 @youknowriad
3 years 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
3 years 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.