esotalk / esoTalk

Fat-free forum software.
GNU General Public License v2.0
1.47k stars 237 forks source link

strange behavior which seems to be a double post but is not #370

Open tvb opened 9 years ago

tvb commented 9 years ago

I noticed this before on my own forum but now on esoTalk as well. After posting a reply the result is that it looks like the previous post became a double post and my reply is not visible. See below

Original post to which I am reply: screen shot 2014-10-26 at 08 47 14

After posting I am not seeing my reply but seeing the original post as a double post (note the missing avatar indicating a second post by the previous poster) screen shot 2014-10-26 at 08 47 31

However, when I refresh the page my post is visible and the double post is gone. screen shot 2014-10-26 at 08 47 54

I have no idea what is causing this!

hugeping commented 9 years ago

Hello! In fact, i can reproduce this bug sometimes. Open two browsers and login user1 and user2. User1 writing comment, but not submit in thread A. User2 writing comment and submit in thread A. User1 in thread A see extra own message, while js code updating thread. After refresh, this doubled post becoming post from user1. Hope, this helps.

tvb commented 9 years ago

Got it again today:

Screen after posting: screen shot 2015-03-02 at 16 23 45

Screen after refresh: screen shot 2015-03-02 at 16 23 51

inliquid commented 9 years ago

This happens when you post at the same time with ajax which is constantly pulling the server for new posts. I have noticed this behaviour some few months already.