# Wrong assigned username in activity list

**URL:** https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816
**Category:** Bug
**Created:** [2017年十一月10日 07:31 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816 "2017-11-10T07:31:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [2017年十一月10日 07:31 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816/1 "2017-11-10T07:31:05Z")

</div>

I am a staff user. When I assign somebody to topic using `discourse-assign` plugin, I always see myself as an assigned person in my activity list (marked as orange twice):

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/d/bd7a2e4c7534cd5e69621a564fdbafc4a5c16aeb.png)

Underlined mention should be a username who has assigned to the topic, shouldn’t it?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年十一月10日 07:42 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816/2 "2017-11-10T07:42:06Z")

</div>

Can you repro this @jomaxro?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2017年十一月13日 17:35 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816/4 "2017-11-13T17:35:25Z")

</div>

Yes, I can repro this. I just assigned that topic to @supermathie, but in my activity it says I assigned it to myself. Other areas of the UX, including the `/my/activity/assigned`, and the topic itself show the correct assigned user.

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/1/a1a1d8da46435ff4e894ed58efeb06ad7f5e5679.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年十一月20日 03:38 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816/5 "2017-11-20T03:38:52Z")

</div>

I know what the bug is, it is just a nightmare to fix, its on my list when I have a some time to redo a bunch of internals. The root cause is that it is very hard to glue the “who” part to the actual post, we are using custom fields now which is very messy.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018年五月18日 03:35 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816/8 "2018-05-18T03:35:24Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/416d19af27fc3e33d6f406517e4ea2726881ebf9](https://github.com/discourse/discourse/commit/416d19af27fc3e33d6f406517e4ea2726881ebf9)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018年五月21日 10:00 UTC](https://meta.discourse.org/t/wrong-assigned-username-in-activity-list/73816/9 "2018-05-21T10:00:00Z")

</div>

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