You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
demographic survey: expectations from frontend do not match expectation from background script so incomplete survey results are being dropped from endpoint
#628
Closed
hamilton opened this issue
May 29, 2021
· 0 comments
· Fixed by #636
The background script expects the demographic survey to not have fields if a question goes unanswered, but the frontend does not have this requirement. As such, invalid surveys are hitting the tables with errors, causing surveys to drop when (for example) someone doesn't answer the age question in the survey.
If all questions are answered by a panel member, then the survey arrives at the pioneer-core survey table as expected.
Since this has apparently been an issue since we launched RS01, I put together a branch that should resolve this issue and align the frontend to the submission structure. It will not change the background script but instead refactors the demographic survey frontend to match the expectation the schema has.
This should be a top priority for fixing Tuesday morning when everyone is back.
The text was updated successfully, but these errors were encountered:
hamilton
changed the title
demographic survey: expectations from frontend do not match expectation from background script so survey results are being dropped
demographic survey: expectations from frontend do not match expectation from background script so survey results are being dropped from endpoint
May 29, 2021
hamilton
changed the title
demographic survey: expectations from frontend do not match expectation from background script so survey results are being dropped from endpoint
demographic survey: expectations from frontend do not match expectation from background script so incomplete survey results are being dropped from endpoint
May 29, 2021
The background script expects the demographic survey to not have fields if a question goes unanswered, but the frontend does not have this requirement. As such, invalid surveys are hitting the tables with errors, causing surveys to drop when (for example) someone doesn't answer the age question in the survey.
If all questions are answered by a panel member, then the survey arrives at the
pioneer-core
survey table as expected.Since this has apparently been an issue since we launched RS01, I put together a branch that should resolve this issue and align the frontend to the submission structure. It will not change the background script but instead refactors the demographic survey frontend to match the expectation the schema has.
This should be a top priority for fixing Tuesday morning when everyone is back.
The text was updated successfully, but these errors were encountered: