TestPilotBuiltinSurvey._prependMetadataToJson() attempts to include the related-study GUID with the survey metadata upload, if the survey has a related study. However, if the study has not yet started, it will not yet have generated a GUID for itself, so this will be blank. That means we won't be able to match up the survey with the associated study data like we want. It shouldn't matter which of the two, the study or the survey, starts first or is submitted first. The first one should generate the GUID and the second one should copy it.
Severity: normal → major
Priority: -- → P1
Target Milestone: -- → 1.1
Done in http://hg.mozilla.org/labs/testpilot/rev/46cabbdc9eec with unit tests added to ensure that it works no matter which order they are generated in.
Whiteboard: data → data, needs-integration
Created attachment 513569 [details] [diff] [review] Patch fixing the bug
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Whiteboard: data, needs-integration → data, needs-integration[qa-]
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.