PHP Classes

Maibox

Recommend this page to a friend!

      Top level forums  >  Site  >  Features  >  Maibox  >  (Un) Subscribe thread alerts  
Subject:Maibox
Summary:Messages stuck in inbox
Messages:2
Author:Dave Smith
Date:2015-11-10 02:13:20
Update:2015-11-10 03:23:50
 

  1. Maibox   Reply   Report abuse  
Picture of Dave Smith Dave Smith - 2015-11-10 03:12:00
Okay, leave it to me to break things.

The situation... my mouse has been acting up, and sometimes it sends out 2 clicks, real close together, when I just click once.

You can see the result in one of my clarification comments in the recommend package section. There are two replies, exactly the same and numbered exactly the same.

There was a reply to my comment, which triggered a private message to inform me. It actually triggered 4 private messages for the single reply. After reading the first one of the four, the first and second where marked read. Reading the third or fourth of the four has no effect, they are stuck as unread in my inbox.

Dave

  2. Re: Maibox   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-11-10 03:23:50 - In reply to message 1 from Dave Smith
Yes, I got that too. It is a bug but I am not sure how to solve it.

I need to investigate how was that possible.

It may be that I am not setting the MySQL transaction isolation level correctly, or else the message counter would be bumped even if you manage to submit two similar messages like you did.

So there is some duplication in the unread messages. Since they reference the same message, you cannot mark the second one as read.

The solution for that is to remove the messages manually from the database but it does not solve the bug that caused them.

Let me think about this for a while before I let myself directly manipulate the database data. Thank you for reporting for now.