#57819 closed defect (bug) (fixed)
Fix Appearance > Template Parts URL
Reported by: | Mamaduka | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 6.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | gutenberg-merge has-patch has-testing-info commit |
Focuses: | Cc: |
Description
Due to recent changes to Site Editor's client-side routing, the Appearance > Template Parts URL requires an extra argument to load the page correctly.
This a ticket for syncing the fix with Core: https://github.com/WordPress/gutenberg/pull/48343.
Testing instructions
- Activate a theme that enables block-based template parts - https://github.com/Mamaduka/block-fragments.
- Visit the new Appearance > Template Parts menu.
- Confirm the list page is loaded correctly.
The flow is now also covered by e2e tests in the Gutenberg plugin repo.
Attachments (2)
Change History (8)
This ticket was mentioned in PR #4142 on WordPress/wordpress-develop by @Mamaduka.
19 months ago
#1
- Keywords has-patch added
#2
@
19 months ago
- Owner set to hellofromTonya
- Status changed from new to reviewing
Currently reviewing for commit ahead of Beta 4 today.
#3
@
19 months ago
- Keywords has-testing-info added
Testing Instructions
These steps define how to reproduce the issue, and indicate the expected behavior.
Steps to Reproduce
- Install the block-fragments theme (i.e. enables block-based template parts within a non-block theme) https://github.com/Mamaduka/block-fragments.
- Activate the theme.
- Navigate to Appearance > Template Parts menu.
- 🐞 Bug occurs.
Expected Results
When testing a patch to validate it works as expected:
- ✅ The Site Editor should show
All template parts
in the menu sidebar and a list of template parts.
When reproducing a bug:
- ❌ The Site Editor shows the
Design
menu sidebar with an empty content area.
#4
@
19 months ago
- Keywords commit added
Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/4142/
Environment
- OS: macOS
- Localhost: wp-env (Docker)
- WordPress: trunk
- Browser: Firefox, Chrome, Edge
- Theme: Block Fragments
- Plugins: none
Actual Results
When reproducing a bug/defect:
- ❌ Can reproduce the reported issue.
When testing the bugfix patch:
- ✅ The patch resolves the issue.
@hellofromTonya commented on PR #4142:
19 months ago
#6
Committed via https://core.trac.wordpress.org/changeset/55435.
Gutenberg PR: https://github.com/WordPress/gutenberg/pull/48343
Trac ticket: https://core.trac.wordpress.org/ticket/57819