馃悰 [Bug] Post page crashes when post author is null
Created by: Tirokk
Authored by roschaefer Closed
馃悰 Bugreport
We're trying to show or not show the comment form depending on post.author.blocked
. Unfortunately this will produce an error if the post.author
is null (anonymous user, deleted user)
Steps to reproduce the behavior
- Seed your database and then remove the author from the post manually
- Visit the post page of this post in your browser
- App crashes while trying to render the template
Expected behavior
Comment form should be visible.