#54456 closed defect (bug) (fixed)
Navigation block view script JS console error
Reported by: | mkaz | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Editor | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Error originall reported on Gutenberg repo at: https://github.com/WordPress/gutenberg/issues/36506
The issue is a Windows environment the paths are not being reconciled properly and the core view.min.js file used by the Navigation block is not being loaded in Windows environments.
This can be tested by running Local on Windows and viewing a page using the TwentyTwentyTwo theme
Attachments (1)
Change History (12)
#1
@
3 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 5.9
- Version set to trunk
This ticket was mentioned in Slack in #core-editor by mkaz. View the logs.
3 years ago
#4
@
3 years ago
- Keywords needs-testing removed
Test Report
Env
- WordPress 5.9-alpha-20211117.140912
- Chrome 95.0.4638.69
- Windows 10
- Theme: Twenty Twenty Two
- Gutenberg Editor
- Plugin: None activated.
Steps to test
- Load any page and check DevTools.
An error is shown:
GET testing-54456.local/wp-content/plugins/C:/Users/<USERNAME>/Local%20Sites/…ncludes/blocks/navigation/view.min.js?ver=4942262… net::ERR_ABORTED 403 (Forbidden)`
- Apply the changes in the patch, reload the page and check DevTools.
The error is no longer shown.
Patch is successful.
This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.
3 years ago
This ticket was mentioned in PR #1983 on WordPress/wordpress-develop by audrasjb.
3 years ago
#9
Trac ticket: https://core.trac.wordpress.org/ticket/54456
@audrasjb commented on PR #1983:
22 months ago
#11
Committed in https://core.trac.wordpress.org/changeset/52291
Thanks! Using WampServer, that works for me with the view.min.js file.
src='http://localhost/svn/src/wp-includes/blocks/navigation/view.min.js?ver=4942262e50480536aae4cd504a13f19c'
(There's a space missing before the colon, but that could be fixed in the commit.)