Re: "New-message composer URL reuses recipients from draft"

AI-generated summary

The discussion addresses a bug where the new-message composer URL incorrectly reuses recipients from a draft, despite updated parameters in the URL. flesser provided clear reproduction steps using two example URLs targeting different users (@discobot and @_fuchs), demonstrating that while the title and body update correctly, the recipient remains stuck on the first user. techAPJ confirmed the issue was fixed via a commit (b83ba97) and thanked flesser for following up. A note clarifies that clicking links within the topic may trigger an “Abandon post?” popup, so users should copy and paste the URLs directly into the browser for accurate testing.

Continuing the discussion from New-message composer URL reuses recipients from draft (closed):

Here is how to reproduce here on meta:
First: paste this link into your browser: Discourse Meta

Second: paste that link into your browser: Discourse Meta

As you can see, title and body of the second message are taken from the URL, but the message is still addressed to @discobot instead of @_fuchs

/Edit: clicking the on the links here in this topic may not work as “un-intended” because you will get the “Abandon post?” popup. You have to copy the links to an external source (e.g. Notepad) and paste them into the browser’s URL bar one after the other.

6 Likes

Fixed via:

https://github.com/discourse/discourse/commit/b83ba97675ba10459a463d1b8256f2ded0acd567

Thanks for following up on this issue @flesser. :+1:

8 Likes