daydreaming-experiment/app — pull request #346 by wehlutyk (2014-10-04 23:34:09+00:00)
Title: Feature/issue 335 empty results

Fixes #335.

Problem was: a probe is answered, and saved to storage. When loaded later on, the answer fields are first loaded from JSON, then injected by the injector deserializer. So all loaded values were being overwritten by injection, which left us with empty values. This only happened with probes that were uploaded a long time after they were answered, because when uploaded shortly after being answered, the objects used were the live memory ones directly, and not the ones loaded from JSON.

This PR also makes the app upload incomplete or missed morning/evening questionnaires, which were left in DB until now.