We are using the tips from Email notification footer with links for Reply Privately, Sender Profile, and User Profile on our installation to encourage users to reply by PM instead of publicly if only the sender is concerned.
However, sometimes the To: field of the PM is pre-filled with the wrong username, even though the one in the URL is correct.
It seems like composing PMs by URL reuses a previously unfinished PM instead of starting a clean new one. The
body URL properties (silently) override the unfinished message’s values, but
username doesn’t. (Which should be intended behaviour in my opinion).
Steps to reproduce:
click on a link to compose a new PM by URL:
close the compose popup without sending the PM
click on another link to compose a PM to a different user:
The compose popup opens, recipient still set to
user1, but title and body updated to the “Title2” and “Body2” values from the URL.
(Also, if on the second link one of the parameters
body is not set, the old values from the previous message appear instead of the intended empty string.)
- The compose popup opens with
user2as recipient. (Maybe also showing a warning that the previously unfinished message was discarded.)
bodyare not set in the URL, those fields in the PM should be empty, too.