ElkArte Community

Elk Development => Bug Reports => Topic started by: Jorin on October 25, 2018, 08:20:43 am

Title: multiple mentions of the same user
Post by: Jorin on October 25, 2018, 08:20:43 am
With some users this happens: They are shown multiple times when mentioning them. I tried to investigate when this is happening, but failed. It has nothing to do with their membergroups or such. Any hints?
Title: Re: multiple mentions of the same user
Post by: emanuele on October 25, 2018, 12:57:49 pm
If you have access to phpmyadmin (and I guess you have), could you try see what's the result of the following query?
Code: [Select]
		SELECT id_member, real_name
FROM {db_prefix}members
WHERE real_name LIKE 'manu%'
AND is_activated IN (1, 12)
Title: Re: multiple mentions of the same user
Post by: Jorin on October 26, 2018, 01:23:45 am
Just one row with her user id and her real name. Not three.  ;)
Title: Re: multiple mentions of the same user
Post by: emanuele on October 26, 2018, 03:00:32 pm
WYSIWYG or normal editor? (Or no editor if quick reply?)
Quick reply or "full post page"?
Browser?
Title: Re: multiple mentions of the same user
Post by: Jorin on October 26, 2018, 03:21:15 pm
Chrome and IE, normal full page editor. I can test more though.
Title: Re: multiple mentions of the same user
Post by: emanuele on October 26, 2018, 03:49:01 pm
In WYSIWYG or the "normal" editor?
Title: Re: multiple mentions of the same user
Post by: Jorin on October 26, 2018, 04:22:31 pm
The normal one.
Title: Re: multiple mentions of the same user
Post by: emanuele on October 27, 2018, 02:13:28 am
Hmm...
To debug.
Looks like the javascript, for some reason mulriplies the entries I guess.
Title: Re: multiple mentions of the same user
Post by: emanuele on October 27, 2018, 06:38:46 am
hmm... here I can reproduce something similar with Chrome on my android phone, but not on the computer (that is anyway linux and chrome 66).

That makes me think it's really something related to the latest chrome versions, now I need to get access to a recent version  of chrome to test it again.
Title: Re: multiple mentions of the same user
Post by: Jorin on October 30, 2018, 03:07:12 am
Thanks for testing! I can spend at least a bit of chrome polish.  :D
Title: Re: multiple mentions of the same user
Post by: radu81 on October 30, 2018, 03:40:53 am
It also happends here, using the Quick Reply with full editor and "View source" enabled. I am using Firefox 63
Title: Re: multiple mentions of the same user
Post by: emanuele on October 30, 2018, 05:06:35 am
That means WYSIWYG.
Title: Re: multiple mentions of the same user
Post by: ahrasis on March 27, 2019, 09:47:10 am
I don't think this one is tracked yet for 1.1.6.
Title: Re: multiple mentions of the same user
Post by: Spuds on April 01, 2019, 04:41:47 pm
Tracked https://github.com/elkarte/Elkarte/issues/3297
Title: Re: multiple mentions of the same user
Post by: Spuds on April 08, 2019, 11:58:33 am
@emanuele I've made a change here just for testing.

The details are in the bug report.  I'm not sure that is the problem, but the code seemed a bit weird to me.  I'm not sure if it had something to do with revalidate mentions or it was simply weird or I'm tired :P
Title: Re: multiple mentions of the same user
Post by: emanuele on April 08, 2019, 02:56:51 pm
/me forgot to answer in the issue at github.

Indeed I'm not sure what that code was about... Let's see if it works any better now. xD