Securedrop: Reloading URL to deleted source causes internal server error

Created on 4 Mar 2020  路  4Comments  路  Source: freedomofpress/securedrop

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

Hacktoberfest bug help wanted

All 4 comments

@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.

@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.

@zenmonkeykstop Sure. Will do that.

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

Was this page helpful?
0 / 5 - 0 ratings