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

Reloading URL to deleted source causes internal server error #5147

Open
eloquence opened this issue Mar 3, 2020 · 4 comments
Open

Reloading URL to deleted source causes internal server error #5147

eloquence opened this issue Mar 3, 2020 · 4 comments
Labels
bug Hacktoberfest Issues suitable for the annual Hacktoberfest organized by Digital Ocean help wanted Issues we would definitely appreciate volunteer help with

Comments

@eloquence
Copy link
Member

eloquence commented Mar 3, 2020

Encountered during client QA. Tested deleting a source in the client, then reloaded messages/submission view for that same source in the Journalist Interface.

Expected result

A helpful message telling me that the source could not be found.

Observed result

Internal server error displayed in Journalist Interface

@eloquence eloquence added bug help wanted Issues we would definitely appreciate volunteer help with needs/reproducing labels Mar 3, 2020
@prateekj117
Copy link
Contributor

@eloquence By client, do you mean securedrop-client, because that would mean the issue is in API.

Also, I couldn't reproduce issue #4618, which might be the same as this if this is for Web Interface.

@zenmonkeykstop
Copy link
Contributor

@prateekj117 This should just return a 404 in the JI currently, having it give a more specific error ("unknown source, it may have been deleted by another user" or similar) would be an improvement.

@prateekj117
Copy link
Contributor

@zenmonkeykstop Sure. Will do that.

@prateekj117
Copy link
Contributor

@zenmonkeykstop Ok, so it doesn't do a soft-deletion in Sources Table, so instead of 404, should we return this in every case?

@eloquence eloquence added Hacktoberfest Issues suitable for the annual Hacktoberfest organized by Digital Ocean and removed needs/reproducing labels Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Hacktoberfest Issues suitable for the annual Hacktoberfest organized by Digital Ocean help wanted Issues we would definitely appreciate volunteer help with
Projects
None yet
Development

No branches or pull requests

3 participants