FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Moving a topic twice creates a counter error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Moving a topic twice creates a counter error [message #26761] Wed, 10 August 2005 06:11 Go to next message
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
minor bug, v 2.6.15

I moved a topic to an empty forum, then moved it again to somewhere else. After the move notice expired, the empty forum shows a topic count of -1.
Re: Moving a topic twice creates a counter error [message #26778 is a reply to message #26761] Thu, 11 August 2005 00:39 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
How did the topic expire? Did you run the consistency checker?

Normally the topic can only expire when you post a new topic, at which point expiry check is performed.


FUDforum Core Developer
Re: Moving a topic twice creates a counter error [message #26779 is a reply to message #26778] Thu, 11 August 2005 04:58 Go to previous messageGo to next message
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
First I moved a topic to an empty forum. Then I moved the same topic again, leaving 0 topics but 1 "topic was moved" message in the empty forum. The counter went to -1 on the empty forum when the "topic was moved" message disappeared from it.
Re: Moving a topic twice creates a counter error [message #26793 is a reply to message #26779] Fri, 12 August 2005 15:39 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The code involved in generating this data has undergone MASSIVE changes in CVS, and after spending 20 minutes trying to replicate the bug based on your methodology I cannot. So, for now I'll assume the issue has been resolved.

The "temporary" fix is to run the consistency checker.


FUDforum Core Developer
Re: Moving a topic twice creates a counter error [message #26872 is a reply to message #26793] Thu, 18 August 2005 16:40 Go to previous message
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
Sorry to have put you to so much trouble; I encountered the anomaly and just thought you might be interested to know about it.

Since then I have run the consistency checker and the counts are now correct.
Regards
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Messages no longer in a single file? + Display problem
Next Topic: Problem with pruning topics
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 09 17:13:48 GMT 2024

Total time taken to generate the page: 0.04723 seconds