New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load a font file #110
Comments
I've also noted this, I believe it comes from this line where the package version and commit is combined into
I agree it's minor, but maybe we could use the short SHA instead of the full SHA-1 hash, e.g., |
@alaczek @derekblank, note that it was a dev build, so it should be okay to have the whole hash there. The release build looks much cleaner, e.g.: |
I investigated the actual font issue, and was able to replicate the testing steps. When uploading a font via Global Styles, the upload request just hangs indefinitely. I traced the request to the vendor/wp-now version of encodeAsMultipart here: studio/vendor/wp-now/src/start-server.ts Lines 65 to 71 in 6619e75
When logging out the values, the request headers appear to be I'll continue to investigate, but just leaving these findings in case others have thoughts or further context. |
Thanks for checking it @derekblank. It seems it can be fixed by #115. |
Yep, confirming that applying the fix from #115 allows the request to succeed, and the font is uploaded successfully. font-loading.mov |
Quick summary
I was not able to add a font via WordPress Font Library - the font file was stuck loading with no error messages.
Steps to reproduce
What you expected to happen
I expected the font file to load properly.
What actually happened
The file never finishes loading, although there are no errors or messages.
Impact
One
Available workarounds?
No but the app is still usable
Platform
Mac Silicon
Logs or notes
Browser: FF 125.0.1
(a side note and very minor but could we clean up the version number ^ ?)
The text was updated successfully, but these errors were encountered: