Post import: user stats most-replied-to is empty


(Jay Pfaffman) #1

On an import I just did, on a user profile page, the “most replied to” section is empty.

I think that sidekiq finished. It’s been on a production site for a few days. I don’t see a rake task that’s obviously going to populate that.

I tried rake import:ensure_consistency. No joy.

Anywhere else I should look?


(Régis Hanol) #2

Did the import set the reply_to_post_number when creating the replies? If not, then the post is not a reply.

FYI: the “most replied to users” section is computed dynamically.


(Jay Pfaffman) #3

Brilliant! There were no post numbers in the available data. I need to set the topic post ID for all of them.

This is a huge help! Thanks