Weird Private Message issue

Discussion in 'Forum Related Discussions' started by Geosoft, Jan 8, 2013.

Thread Status:
Not open for further replies.
  1. Geosoft

    Geosoft Registered Member

    Joined:
    Jan 7, 2009
    Posts:
    270
    Location:
    Toronto, Ontario, Canada
    Hi There,

    I'm having a weird issue on my account. I got a notification that a new unread private message is waiting for me. It also says that I have 14 total messages. But when I go into the message center, I cannot see that unread message, plus it will only list 13 total messages.

    Can anyone help?
     
  2. LowWaterMark

    LowWaterMark Administrator

    Joined:
    Aug 10, 2002
    Posts:
    18,280
    Location:
    New England
    While not exactly the same conditions, my reply in this thread discusses how PM counts can go wrong. It also shows how to have the forum do a recount for you.

    https://www.wilderssecurity.com/showthread.php?p=1982953#post1982953

    I've just sent you a throw away PM. If you read then delete it, the forum should recount it the total and unread count fields in the database.
     
  3. FanJ

    FanJ Updates Team

    Joined:
    Feb 9, 2002
    Posts:
    4,660
    Hi Mike,

    Couldn't it also be caused by sending a PM to person A and to yourself?

    I've just sent a test PM to Geosoft and myself.

    See screenshots.

    1.

    W_2013_01_08_1.gif

    2.

    W_2013_01_08_2.gif

    3.

    W_2013_01_08_3.gif

    Not sure whether I'm right, but I've seen it happen before.
     
  4. LowWaterMark

    LowWaterMark Administrator

    Joined:
    Aug 10, 2002
    Posts:
    18,280
    Location:
    New England
    Ah, interesting. Some kind of double count thing must happen when you copy yourself on a PM. I'll have to check the code for a bug like that. Thanks Jan.

    That will also be recounted once you delete any PM, or, set any back to unread state. So, people can fix the counts, if this happens to them.


    Later Update: Bug fixed. In the future, sending a copy of a PM also to yourself will no longer increment your total PM count and unread PM count twice, instead of once.
     
    Last edited: Jan 8, 2013
  5. FanJ

    FanJ Updates Team

    Joined:
    Feb 9, 2002
    Posts:
    4,660
    Hi Mike,

    You're most welcome. ;)
    I would hardly call it a bug, and it is easily solved by users who send a copy PM to themselves. It's not a big problem at all.
    I should have mentioned it to you in private and I apologize for not having done so. The post by Geosoft kind of triggered my reply; not sure however this was the cause of his/her issue.

    Anyway, two more screenshots:

    1.
    Here I have read the incoming PM to myself:

    W_2013_01_08_4.gif

    2.
    And here after I have deleted the sent PM and all is fine again :)

    W_2013_01_08_5.gif
     
  6. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    24,107
    Location:
    UK
    I had a pm discussion with Cudni about this a couple of months ago after I noticed that if you reply to a pm using a pm that is in the sent area it makes the forum think you have an unread message.
     
  7. Geosoft

    Geosoft Registered Member

    Joined:
    Jan 7, 2009
    Posts:
    270
    Location:
    Toronto, Ontario, Canada
    Sorry for the delay as I was busy yesterday and today to do any replies. But I did what FanJ mentioned earlier in the thread where I PM'd a member and myself at the same time. This is probably the bug mentioned.
     
  8. FanJ

    FanJ Updates Team

    Joined:
    Feb 9, 2002
    Posts:
    4,660
    Yep, fixed!
    Super job as always, Mike :thumb: Thanks a lot! *puppy*
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.