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

Crash when trying to list contents for empty home #196

Open
diocas opened this issue Sep 16, 2022 · 1 comment
Open

Crash when trying to list contents for empty home #196

diocas opened this issue Sep 16, 2022 · 1 comment
Labels

Comments

@diocas
Copy link
Contributor

diocas commented Sep 16, 2022

I had an issue which prevented the server extension to load. So the response to the home path was 404, which made the extension do a GET request to /api/contents (note the missing trailing slash). Our contents manager crashed with a very strange error (the asyncify was failing).

This is a corner case, but can you check if this can be prevented?

@diocas diocas added type:bug Something isn't working priority:low back-end labels Sep 16, 2022
@mateusz-garlacz
Copy link
Contributor

Hi, can you provide more details on how to reproduce the bug, e.g. the URL? Does this issue occur constantly?
I tried to reproduce the error with empty and populated /home, with and without the slash, but without success. Btw, the get method in the contents manager is not asyncified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants