As title says. I tried to reattribute, on a fresh install, Simple Machines' posts to my account, it didn't updated the topic count.
What topic count, exactly?
What version of SMF?
SMF 2.0 RC2
Before reattributing:
(http://i50.tinypic.com/30vf2h4.png)
After reattributing:
(http://i46.tinypic.com/2ytzgh0.png)
Then you've reattributed more too; there's only one post that gets made normally.
As for topic count, I'm not convinced that's a bug actually, because it would never have counted to start with. Remember; that test post doesn't have an original user id to tie back to.
Thing to test it: create a test user, get that account to make a post, then delete the user; then create a new user and reattribute it.
Quote from: Arantor on November 17, 2009, 03:42:39 PM
Then you've reattributed more too; there's only one post that gets made normally.
As for topic count, I'm not convinced that's a bug actually, because it would never have counted to start with. Remember; that test post doesn't have an original user id to tie back to.
Thing to test it: create a test user, get that account to make a post, then delete the user; then create a new user and reattribute it.
I already did this, as you can see in the pictures :)
But are these posts in new topics, or just reattributing from existing topics?
I don't think it's checked for performance reasons, and I believe standard advice is to ask the forum maintenance to recalculate anyway after reattribution.
There are just "new topics" on my test forum, not a reply at all :)
I tried "Recount all forum totals and statistics" but it didn't work. Maybe there is no code for updating topics in AdminBoardRecount, in ManageMaintenance.php file?
Ah, wait a minute.
Can you check the topics table to see if id_member_started is the right user id for your 'admin' user?
No, they are not :)
(http://i48.tinypic.com/2ed9zck.png)
Well, that's where the bug is, id_member_started isn't being updated if the topic is the first post or the last post in the topic.
I'm not sure we should expect users to have to run Find & Repair (which should fix this)
Reported - Bug #4000: Reattributed posts do not update topics table (http://dev.simplemachines.org/mantis/view.php?id=4000)