[bug]: Email notifications show a broken avatar for users without a profile photo
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 82/100
Línea de trabajo
Empieza por las tres asignaciones de avatar_url en apps/api/plane/bgtasks/email_notification_task.py (alrededor de las líneas 200, 213 y 227), que anteponen la URL base de la API incluso cuando el actor no tiene avatar. Luego revisa las ramas {% if update.actor_detail.avatar_url %} en templates/emails/notifications/issue-updates.html (líneas 53 y 194). Está listo cuando un actor sin foto obtiene un valor de avatar vacío y la plantilla muestra la inicial en lugar de una imagen rota.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current behavior
In email notifications, the avatar for anyone without a profile photo is a broken image. The initial fallback in the template never shows.
apps/api/plane/bgtasks/email_notification_task.py (lines 200, 213 and 227 on preview) builds the URL as:
"avatar_url": f"{base_api}{actor.avatar_url}",
When the user has no avatar, actor.avatar_url is None (or ""), so the value becomes https://<host>/None (or just https://<host>). That string is truthy, so {% if update.actor_detail.avatar_url %} in templates/emails/notifications/issue-updates.html (lines 53 and 194) always takes the <img> branch, and the {% else %} initial is never used. https://<host>/None returns the web app's HTML, so mail clients show a broken image.
Expected behavior
Users without a photo show the initial, as the template intends.
Suggested fix
Only prefix when there is an avatar, in all three places:
"avatar_url": f"{base_api}{actor.avatar_url}" if actor.avatar_url else "",
Steps to reproduce
- Self-hosted instance with email notifications on.
- A user with no profile photo comments on or updates a work item.
- Another member gets the notification email: the actor's avatar is a broken image pointing to
https://<host>/None.
Environment
Self-hosted (Docker images built from the current release), seen October 2026.
- Lenguaje dominante
- TypeScript
- Estrellas
- 60.7k
- Forks
- 6k
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 50
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de makeplane/plane
-
🐛 Bug: Calendar work items cannot be opened on mobilePosiblemente ocupada @pennnnnnnnnn la tomó hace 4 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[bug]: First day of the week section not translated when Idioma is EspañolPosiblemente ocupada @deepcfr la tomó hace 7 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
makeplane/plane#9967 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[bug]: First day of the week section not translated when Idioma is EspañolPosiblemente ocupada @Indira-kumar la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[bug]: Analytics "Last 7 / 30 days" windows cover one day too manyPosiblemente ocupada @manaskumar3003 la tomó hace 32 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
makeplane/plane#9830 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[feature]: Merge duplicate "Settings" and "Preferences" entries in the user avatar menuPosiblemente ocupada @rudrag1410 la tomó hace 16 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
makeplane/plane#9793 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de makeplane/plane
Issues similares
-
bug engine
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
frostney/GocciaScript#1746 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
agilepathway/label-checker#739 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Wrong key location at startupAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
CopilotKit/OpenBot#800 ·
Los mantenedores suelen responder en 1 día
-
Endpoint links in the tag operations list are below the 24px target sizePosiblemente ocupada @AdzerKI la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
Los mantenedores suelen responder en 1 día