Bullet-proof {% avatar %} templatetag rendering.

Review Request #13769 — Created April 22, 2024 and submitted

Information

Review Board
release-7.x

Reviewers

We were getting an error email from a bot indexing the search page that
was attempting to render the avatar when the user is None. This change
adds some bullet-proofing so we don't hit an error in that case.

Ran unit tests.

Summary ID
Bullet-proof {% avatar %} templatetag rendering.
We were getting an error email from a bot indexing the search page that was attempting to render the avatar when the user is `None`. This change adds some bullet-proofing so we don't hit an error in that case. Testing Done: Ran unit tests.
16ccf7b851d4cd3e95bc593ab84fe73e174dafdf
maubin
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-7.x (66b46c2)
Loading...