Category name not showing up in email notifications since upgrade
user1 (Edward_Weiss) reported that after upgrading to Discourse v2.5.0.beta2, category names stopped appearing in email notifications, showing only the site name in brackets. The subject line setting remains unchanged as [%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}.
Stephen replied that he had emails with category names in the subject line on the same version, suggesting it might not be a beta-specific bug. He asked to rule out configuration issues or plugin compatibility before considering it a bug.
codinghorror mentioned a possible bug where title-only email customizations may not behave as expected, requiring both the body and title to be customized.
Edward_Weiss confirmed a typo in the subject line setting and listed installed plugins, offering to disable them to troubleshoot. codinghorror advised upgrading to the latest Discourse beta code or editing both the body and title of the email as a workaround. Edward_Weiss acknowledged the response but reported the issue remains unfixed as of the current date.
I upgraded Discourse to v2.5.0.beta2 a week ago, and since then category names are not showing up in email notifications, just the site name in brackets. This is getting very confusing for my users.
I checked the subject line setting and it’s unchanged (currently set at: [%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}))
Is this a bug? Is there a default setting that’s changed somehow?
I’ve had emails in the last few hours on 2.5b2 with category in the subject name, so I don’t think it’s a bug specific to the beta. email_subject in settings is set to [%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}.
Let’s rule out a configuration issue or plugin compatibility before we write it off as a Contribute > Bug
Was the second ) in the above a typo? or does a ) appear in your site setting?
Per the other reports of this, there’s a bug where title-only email customizations may not behave as expected, as I recall? It’s expecting the body AND the title of the email to both be customized.
You need to make sure you are on absolute latest Discourse beta code. I think this was fixed recently but I’m not sure. The other workaround is to edit both the body and the title of the email.