instedd / pollit

Pollit helps you use the ease of text messaging to conduct surveys reaching your audience at their convenience. It will guide each participant step by step through your survey, collecting the results in real time. Using text messaging allows you to scale the number of people you reach and lets them answer anytime, anywhere.
http://pollit.instedd.org
GNU General Public License v3.0
1 stars 3 forks source link

Expose answer_received as an event to Hub #19

Closed spalladino closed 9 years ago

spalladino commented 9 years ago

Whenever a new answer is received in Pollit, push a notification to hub with:

mmuller commented 9 years ago

The properties are displayed when creating a new Hub Task. New answers are not received as events by the Hub. I tried to insert the new answers in a google spreadsheet but answer properties were not stored in the spreadsheet.

Pollit Version: 560fb1a7376673585fc029f81d642a7f2f6cd2fe Hub Version: 1a700c0

To reproduce it: Given a Poll 'Foo' with a enabled channel Go to the Hub Add a new Task Choose 'New Answer' from 'Poll Foo' as Event Choose a GoogleSpreadsheet as Action Add a Field 'Answer' Drag the pill 'Response' into the new Field 'Answer' Save the Task Start the Poll 'Foo' (Pollit) Answer the Poll questions Open the GoogleSpreadsheet

Obtained: A new column was added ('Answer'). This column is empty. Expected: The column 'Answer' should include the new answer

screen shot 2015-03-05 at 3 13 14 pm

spalladino commented 9 years ago

The issue was an error in the hub.yml config file in staging

mmuller commented 9 years ago

Ok in version 6b54911ab6e2e85cddf17ded92410ad6b4bb3ee0