When a topic is forked we should send a post to it by the user who forked it saying Forked this topic from <link to topic>
Topic count bug
I have some strange bug.
Category I deleted topics, there is also -1
how to reset the counter or remove all topics
Can you describe the steps you took to achieve that Also to reset the count you can access the database and set the count back to 0.
hset global topicCount 0
Can you describe the steps you took to achieve that
In the subject created a topic, there have been reports.
Then removed the subject, the panel made it inaccessible. These steps may be repeated several times (in an attempt to restore the topic)
smth like this
redis-cli and then hset global topicCount 0
@baris ty, it helped
Ok will take a look, sounds like delete was called multiple times and the topic count was decreased twice.
yep. if you delete a topic.. you can still access it.. and delete it again >.<
and how we can hot fix it?
https://github.com/designcreateplay/NodeBB/commit/b717c74a816711c50938d52051191ca205ec2900 should fix the multi delete bug with a server side check.
Can you let us know how you sent the multiple delete calls? That sounds like a client side bug when you delete a topic you should no longer see the delete button until you restore it.
@baris Yep baris.. the delete thread appears when the topic is "deleted"