Post reactions are being lost when moving the post

Hi everyone,

We seem to have an issue with reactions getting lost when moving posts.

3.2.0.beta2-dev (83621ccbe7)

Before moving, the post had three reactions (one of which was a Like/Heart):

After the move, the reactions are lost and the post is left with just the one Like/Heart:

5 Likes

I can reproduce this as well on my dev instance, but only if the post being moved is a topic post (OP).

Repro:

1: Go to a topic post with existing reactions.
2: click the admin wrench and select the post
3: move to an existing topic
4: existing reactions disappear (except for hearts)

Screenshots:

Before

After

Discourse 3.2.0.beta2-dev, desktop mode, Chrome, Ubuntu 22.04

8 Likes

Thanks for sharing the details here.

I am noticing the same as Lilly described, it only seems to be happening with the first post in a topic.

This should be fixed with this commit in core and this one in discourse-reactions.

5 Likes

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