Skip to content
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

commands: Fix server panic regression #9540

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

bep
Copy link
Member

@bep bep commented Feb 21, 2022

And now with a proper server test.

Fixes #9518
Fixes #9530
Fixes #9539

And now with a proper server test.

Fixes gohugoio#9518
Fixes gohugoio#9530
Fixes gohugoio#9539
@bep bep force-pushed the fix/panic-regression-9518 branch from 8523c3c to dae1849 Compare February 21, 2022 19:02
@bep bep requested a review from jmooring February 21, 2022 20:28
@bep
Copy link
Member Author

bep commented Feb 21, 2022

I have admittingly only tested one of the cases above (which is now also added as an integration test), but I assume the cause is the same.

@deining
Copy link
Contributor

deining commented Feb 21, 2022

I have admittingly only tested one of the cases above

I just build hugo v0.93.0-DEV with the change you committed and tested it for the issue addressed with #9539. For me, the error persist. Can you please double check? Thanks.

@bep
Copy link
Member Author

bep commented Feb 21, 2022

Can you please double check? Thanks.

Just did, and I don't see how you could get the stack trace your reported after my patch, which must suggest that you 1. Either did not build this version or 2. Got a different error.

Copy link
Member

@jmooring jmooring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This resolves the panic described in #9518, #9530, and #9539. Thanks!

@jmooring
Copy link
Member

@deining deining

If you continue to experience problems, please continue our forum discussion. Thanks.

@bep bep merged commit aebde49 into gohugoio:master Feb 21, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants