[Building Sakai] polls entity provider

Steve Swinsburg steve.swinsburg at gmail.com
Wed Jul 28 18:23:27 PDT 2010


Hi all,

Is anyone using the Polls entity provider, specifically the voting provider /direct/poll-vote/describe. I am sending through a POST request to vote in a poll and it looks like EntityBroker maps the JSON object to the Vote object ok, but all of it's fields are null. I get:
Poll Id must be set to create a vote. 

which is what happens when the pollId is null. But I am sending the pollId:
data: {"pollId": "1", "pollOption": "2"},

Any input would be appreciated. I am trying to determine whether it is an issue with my request, will polls or with entity broker. It's broken on nightly 2.6.x as well by the way, so it's not just a local issue.

I've got some code in this JIRA, and a few more comments: http://jira.sakaiproject.org/browse/SAK-18856

thanks,
Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100729/3dd48edd/attachment.html 


More information about the sakai-dev mailing list