I migrated a site from another CMS to drupal and I also migrated voting information although the old system wasn't identical to voting api.
In the old CMS there is a field for the total number of votes, and a field for overall score (summarized grades), there is no information per user votes. The grade is calculated by dividing Score with Ratings (Grade=Score/Ratings).
I have entered always the same Value (for a node) in the voting API that is calculated from the grade to get the percentage, and repeating it as many times as there are Ratings (total number of votes in the old CMS). Uid is always 0 and vote_source 127.0.0.1.
But the imported information is only displayed after you cast a vote in drupal. For example if the story had some grade in the old system where 2 users voted, nothing is displayed. But if I rate it after reloading the page I can see that there are 3 votes in total (and the grade is correct).
Also when I create a View to show the nodes with the most votes, or nodes with the highest grades I only see the ones that have been affected in drupal, no nodes with only the old information appear.
Why is that it won't read information from the database until a new entry has been made? How can I make them appear?
Everything seems to be fine in the Voting API table so I'm guessing it has something to do with Fivestar, but have no idea really...
Comments
Comment #1
dbt102 commentedFivestar for Drupal 6
Drupal 6 is now end of life, and is no longer supported. So Drupal 6 issues for Fivestar are being closed as "Closed (won't fix)" or "Closed (outdated)". However, we don't want users who are porting from Drupal 6 to 7 to feel unwanted, so if you have any migration issues, please open them as Drupal 7 issues.