WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#53520 new enhancement

Add regression test for the wp_option data corruption bug

Reported by: fullofcaffeine Owned by:
Milestone: 5.9 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: administration Cc:

Description

Gutenberg v10.7.x introduced a bug that caused some wp_options to get blank or corrupted data after (any) settings were updated in the options-general.php page. This was eventually fixed in v10.7.4, with this PR: https://github.com/WordPress/gutenberg/releases/v10.7.4. See https://github.com/Automattic/wp-calypso/issues/53447 and https://github.com/Automattic/wp-calypso/issues/53431.

There's already a regression E2E test in Gutenberg that was introduced in this PR: ttps://github.com/WordPress/gutenberg/pull/32797. Ideally, though, it'd be either moved to WP core or also implemented here. It doesn't need to be an E2E test, and could be a lower-level integration test, if we can figure out how to reproduce at a lower level (there was a failed attempt to do this, though, see this comment: https://github.com/WordPress/gutenberg/pull/32797#issuecomment-865005516.

Change History (2)

This ticket was mentioned in Slack in #core by peterwilsoncc. View the logs.


3 months ago

#2 @peterwilsoncc
3 months ago

  • Component changed from General to Build/Test Tools
  • Milestone changed from Awaiting Review to 5.9
Note: See TracTickets for help on using tickets.