Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#53520 new enhancement

Add regression test for the wp_option data corruption bug

Reported by: fullofcaffeine's profile fullofcaffeine Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-unit-tests
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 (4)

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


3 years ago

#2 @peterwilsoncc
3 years ago

  • Component changed from General to Build/Test Tools
  • Milestone changed from Awaiting Review to 5.9

#3 @hellofromTonya
3 years ago

  • Milestone changed from 5.9 to Future Release

Today is 5.9 Feature Freeze. I'll punt this to Future Release (as 6.0 isn't
available yet for selection).

Test and build tool changes are allowed after feature freeze up until RC. If someone is able to work on this before then, it can always be moved back.

#4 @johnbillion
3 years ago

  • Keywords needs-unit-tests added
Note: See TracTickets for help on using tickets.