-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Error when saving widgets #28186
Copy link
Copy link
Closed
Labels
[Feature] Widgets ScreenThe block-based screen that replaced widgets.php.The block-based screen that replaced widgets.php.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
There's an error when saving widgets from editing a clean state in the new widgets screen. Found when writing tests in #28160.
Step-by-step reproduction instructions
- Go to the new widgets screen.
- Delete all widgets, including widgets in the inactive widgets section.
- Save, reload, and confirm that there's no widgets left.
- Add a new block (e.g. paragraph block) in the first widget area.
- Toggle to open the second widget area (could be inactive widgets or others).
- Add another block to the second widget area.
- Hit "Update", see the error pops up in the snackbar.
Expected behaviour
There shouldn't be any errors.
Actual behaviour
There's an error and the widgets are not correctly saved.
Screenshots or screen recording (optional)
WordPress information
- WordPress version: 5.7-alpha-49956
- Gutenberg version: master branch
- Are all plugins except Gutenberg deactivated? Yes
- Are you using a default theme (e.g. Twenty Twenty-One)? Tested in both Twenty Twenty-One and Twenty Twenty
Device information
- Device: Desktop
- Operating system: macOS
- Browser: Chrome 87
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Widgets ScreenThe block-based screen that replaced widgets.php.The block-based screen that replaced widgets.php.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
