warning: unknown column vote_source in table votingapi_cache when used as criteria in votingapi_select_results
gsadler - June 19, 2009 - 15:19
| Project: | Voting API |
| Version: | 6.x-2.0-rc2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Thanks for the module, I'm hoping to use it if I can work out this small issue I'm having.
I'm using the criteria vote_source for retrieving voting results, and per the api this is an acceptable criteria, however it appears that the vote_source isn't being cached thus throwing this error.
Is this by design and just a typo in the api documentation or is this a real bug?

#1
Ach. Apologies for the mistake. 'uid' and 'vote_source' are properties of individual votes, not cached aggregate results. (The average of all votes can't come from a particular user or IP address, for example). The PHPDoc in votingapi.module is incorrect on this point, and I've updated the module. It will be rolled into the next official release. Thanks!
#2
Automatically closed -- issue fixed for 2 weeks with no activity.