#2914 Number of posts in a forum topic is a little invalid (looks like moderated + approved messages

v1.4.0
closed
nobody
None
General
nobody
2016-04-11
2011-10-01
Anonymous
No

Originally created by: kambi

See the forum of my project castle-engine: http://sourceforge.net/p/castle-engine/discussion/general/thread/f57904bd/ . The thread "Welcome to "Castle Game Engine" forum" is shown as having 3 posts (in the side bar on the left), but you can easily see it actually has 2 posts.

This may be related to the fact that we have a forum where anonymous can post, but are moderated. As far as I remember, the number of posts increased from 1 to 2 when anonymous posted a 2nd message. And then, number of posts increased from 2 to 3 when admin approved this message. So it looks like one post was counted twice by accident --- once on posting, second time on approval.

Discussion

  • Anonymous - 2011-11-20

    Originally by: kambi

    I just tested this again, and yes, it's 100% reproducible. Posting a message as anonymous makes post count++, and then approving this post as admin again makes post count++. The thread "Welcome to "Castle Game Engine" has now 3 posts, but the sidebar shows count "5" for this thread.

    Steps to reproduce:

    1. As anonymous, post anything on https://sourceforge.net/p/castle-engine/discussion/general/thread/f57904bd/ . Notice the post text is "Post awaiting moderation.". Notice the count of posts is incremented.

    2. As admin, approve this post through https://sourceforge.net/p/castle-engine/discussion/general/moderate/ . Notice the count of posts is incremented again.

     
  • Dave Brondsema

    Dave Brondsema - 2016-01-29
    • Description has changed:

    Diff:

    • status: open --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2016-01-29

    I believe this is fixed with [#8020]

     

    Related

    Tickets: #8020

  • Dave Brondsema

    Dave Brondsema - 2016-04-11
    • Milestone: unreleased --> v1.4.0
     

Log in to post a comment.