Closed (fixed)
Project:
Voting API
Version:
6.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2009 at 15:19 UTC
Updated:
22 Jul 2009 at 16:20 UTC
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?
Comments
Comment #1
eaton commentedAch. 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!