CitizenScienceCenter/csz-lab-app

Task run exporter always returns the first generated export file

Opened this issue · 1 comments

Glorf commented

I'm developing the survey for EPFL-UNIL Cross Accomoji project, using the project builder with custom task presenter, using the CitizenScience Lab: https://lab.citizenscience.ch/en/project/275

I have a problem related to runs/results exporter. Whenever the first export after adding tasks to project is run, the generated file seems to be stuck and returned over and over again, even if more runs were completed in the meantime. The file modification date in the generated zip archive even points to the date of the first run. Interestingly, JSON and CSV seems to be generated separately, therefore these two formats tend to return files with different data, with the collection stopped where the generation of that file first occured. Otherwise, the run counts seems to be working properly, therefore I assume it's an export, and not the saving bug.

This issue was already communicated to info@citizenscience.ch on 26.04, and they admitted that the files are not generated on demand, but every 24h. However, my run exports from 26.04 are still appearing when I click on "Export CSV" or "Export JSON". Is there any way to overcome the problem and access the latest survey results?

Glorf commented

FYI: after the project is published, the bug disappears. However, I keep it open since it's useful to be able to export the tasks, especially when you're designing the survey with custom task presenter