Ticket #220 (new feature)

Opened 15 years ago

Last modified 15 years ago

Bug: Surveys not updating responses

Reported by: brent Owned by: khaled
Priority: major Milestone: Beta 16.2 Release
Component: unknown / unassigned Version:
Severity: New (Not Allocated) Keywords:
Cc:

Description

Surveys are not updating the responses as the user takes the survey

http://baby.healthguru.com/applications/survey/srvyid/40/qid/414
even though there are responses it says 0% for everything

Note from Khaled: The problem is that it's a new survey and the aggregation methods we're using now rely on data already existing. I need to add some functionality to the survey creation process that adds them when the survey is created

Change History

Changed 15 years ago by khaled

Workaround: When a new survey is created (specifically when new questions and responses are added), run the aggregate.survey.data.php script from any of the web servers scripts folder, use all options, i.e.:

ssh root@…
php /var/www/hg_release_beta16/aggregate.survey.data.php -ars

This will update all survey information and add the appropriate records to the survey aggregation tables. Once these records exist, the website will update them as users answer questions. The issue is that if these records do not exist, the aggregation tables are not updated (however all data is stored in the answers table regardless, so no data is lost).

Changed 15 years ago by brent

  • milestone changed from Beta 16 Release to Beta 17 Release

Changed 15 years ago by brent

  • milestone changed from Beta 17 Release to Beta 16.2 Release
Note: See TracTickets for help on using tickets.