As designed Edge Case: Mentioning user does not create alert

Kirby

Well-known member
Affected version
2.0.10
Steps to reproduce
  1. Create a post
    Hallo @Kirby
  2. Wait a few minutes to not trigger floodcheck (or turn it off)
  3. Quote the post created in step 1)
  4. Remove the quote tags and just keep the inner text
  5. Submit the post
Expected Result
I do get alerts for the posts created in step 1) and 5)

Actual Result
I only get an alert for the post created in step 1)

It is not obvious to the user creating the post why no alert is being generated for the second post (apparently the code in the original post and the copy is identical when comparing them through edit post) nor is this behaviour understandable for the mentioned user as both posts look identical.
 
Last edited:
I originally read this wrong, but I tried testing as you suggested and I did indeed receive an alert for both posts.
 
I can also reproduce this by CP the mention bbcode like so, Hello [USER=1]@master[/USER] or by actually typing it out Hello [USER=1]@master[/USER]
 
Overall, I think this is going to have to be considered as designed. Ozzy's last post is the heart of it.

We only consider a mention as "new" if we convert it to the user tag. When you edit a post or quote a post, the mention will have already been converted and thus we know it's "old" and it can be ignored.

So this approach is pretty fundamental to the design of mentions (and has applied since they were first introduced).
 
Back
Top Bottom