Advanced poll converter didn't convert well
| Project: | Advanced Poll |
| Version: | 5.x-1.0-beta6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi, I had only one important poll with 30 votes in my site. I installed the advanced poll module and used the Advanced poll converter to convert the previous poll created with the core poll module. However, the resulting poll doesn't show the votes the original poll had. It still shows 30 votes, but the votes are distributed only among 3 options out of 8. The original poll had votes in 6 options out of the 8. Then, when I go to the "votes" page to see who voted what, I see only 20 votes, 13 of which show the voter, the other "voters" are seen like "X-1-7-10" (with some variations). I assume the fact that I added options to the original core poll module (after it was published and had some votes) may have something to do, although I'm not sure.
I did backup before converting the polls, but I can't just go back to the backup, since I'd lose too much other information. Is there a way to recover the original voting? No matter if I have to go back to the core poll module.
Thanks,
Yersin.

#1
Hmm thanks for the posting. I'm not sure about the conversion error yet, but you can restore poll, poll_votes, and poll_choices tables from your database backup to get your original poll results back. Then you will need to change the type of the node from "advpoll" to "poll", which you can do in MySQL or phpMyAdmin with the command: update node set type = "advpoll" where nid = X. (replace X with the id of the node) Depending on your database/site you may need to make some other tweaks.