Reply to - topic bug

AI-generated summary

A bug has been reported in the latest version of Discourse (3.4.0.beta4-dev) on topic bug, where users are experiencing issues with replying to topics. twofoursixeight initially reported the bug and provided screenshots, which was then reproduced by CocoQuark on try.discourse.org. Arkshine identified the issue as a side-effect of a specific commit and noted that the translatedLabel function now requires explicit declaration of HTML safety. A fix is being worked on, as confirmed by Moin and sam, with a pull request (#30962) already in progress.

Forum bug happening on the latest version of Discourse installed in forum.creative.gimkit.com


The version of the forum running is 3.4.0.beta4-dev right now.
Also reproduced this bug on try.discourse.org :

4 Likes

I can repro on try.discourse as well :+1:

1 Like

It’s a side-effect of this commit: DEV: Only mark translations as htmlSafe for DButton (#30958) · discourse/discourse@2b63830 · GitHub

It seems you now must be explicit that a label is HTML-safe when using translatedLabel.
In the dialog context, it misses one htmlSafe here. However, I don’t know if it impacts others’ codes yet.

https://github.com/discourse/discourse/blob/main/app/assets/javascripts/dialog-holder/addon/components/dialog-holder.gjs#L61

2 Likes

I think someone is already working on a fix.
https://github.com/discourse/discourse/pull/30962

5 Likes

We are actively working on a fix, should land one shortly

10 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.