Make WordPress Core

Opened 2 years ago

Closed 8 months ago

#60121 closed defect (bug) (reported-upstream)

catastrophic content overwrite from "Add New Pattern"

Reported by: vialars's profile vialars Owned by:
Milestone: Priority: normal
Severity: blocker Version:
Component: Editor Keywords: close
Focuses: administration, template Cc:

Description

"Add New Pattern" /wp-admin/post-new.php?post_type=wp_block&lang=en

from /wp-admin/edit.php?post_type=wp_block

and Publishing it

overwrites / replaces the last there added pattern,

giving it the same post id like the one overwritten / replaced.

When then creating a pattern from a post editor Gutenberg block, that pattern is added next to the pattern(s) at /wp-admin/edit.php?post_type=wp_block giving it an id jumping all those ids equalling attempts at adding a pattern from there.

Change History (3)

#1 follow-up: @SirLouen
8 months ago

  • Component changed from Posts, Post Types to Editor
  • Keywords close added
  • Version 6.4.2 deleted

I have not seen any related topic in the Gutenberg repository, so I would say that you should be opening such as this seems to be related to it.

Please copy the link of the new ticket there, once you have opened.

#2 in reply to: ↑ 1 @vialars
8 months ago

Replying to SirLouen:
...

Please copy the link of the new ticket there, once you have opened.

https://github.com/WordPress/gutenberg/issues/71540

#3 @sabernhardt
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks for moving the report!

Note: See TracTickets for help on using tickets.