Trying to get votes summary for a user might result in server error if one of the posts are somehow destroyed #1488
Labels
area: html/css/js
Changes to front-end code
area: ruby
Changes to server-side code
complexity: easy
Issues that should take limited effort to resolve/fix/build.
Noticed live on Writing Codidact. Trying to open the vote summary tab of the system user results in server error 500. This is most likely (repro'd locally) is due to a missing
post_id
on one (or more) of the retained votes (the column is nullable). While it's expected behavior, the vote list doesn't have checks for missing posts, hence the error.The text was updated successfully, but these errors were encountered: