In testing, I successfully merged two user accounts, and their badges and points were transferred over to the target account as expected. However, yesterday, during the production merge, although the Stats were successfully transferred and updated in the Summary, the total number of leaderboard points (cheers) did not update and do not accurately reflect the user’s activity. The number of “Cheers” (41) remain the same pre/post merge.
You should be able to ‘recalculate scores’ from the Gamification tab and it will recount everything. I think there may also be a small delay in the displayed scores being updated too.
Much appreciated, JammyDodger. The rake task worked flawlessly.
However, we encountered the recurring issue of points not updating post merging accounts. I’m curious to know whether this is a bug or if you know the name of the specific background process responsible for tallying the scores? It’s peculiar that this occurs solely in our production environment. I want to give our server admin pertinent information to invesitage what might be hindering this process from running in prod.
Unfortunately it’s a known issue currently affecting the merge-user process. Recalculating the scores manually from the Gamification tab is the recommendation (if you have it). Running the backfill each time is definitely a lot more awkward, so I certainly sympathise.