If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Instantiate cached studies/surveys even if they are no longer in index.json

VERIFIED FIXED in 0.1

Status

Mozilla Labs Graveyard
Test Pilot
VERIFIED FIXED
8 years ago
a year ago

People

(Reporter: Jono Xia, Assigned: Jono Xia)

Tracking

unspecified
Bug Flags:
in-litmus ?

Details

(Assignee)

Description

8 years ago
If the user has finished a study or survey, it should stay in their "finished" panel - it should not disappear just because it's been deleted from index.json.

Right now they're disappearing from the interface even though the code is still cached, because the instantiation of tasks is determined by the filenames listed in index.json.

TestPilotSetup should instantiate the UNION of the set of cached tasks and the set of tasks in index.json.
(Assignee)

Comment 1

8 years ago
Make sure we don't try to instantiate any libraries as tasks, though.
(Assignee)

Comment 2

8 years ago
Done in http://hg.mozilla.org/labs/testpilot/rev/f8d89a4f6798
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

8 years ago
Requesting a litmus test: Should verify that Test Pilot displays studies in the finished window even when those studies are no longer being deployed from the server.  (This requires testing on a profile that has old studies... is that a problem for litmus?)
Flags: in-litmus?
Hmmm, can this be simulated from the debug page?  If so, what would the steps be?
Status: RESOLVED → VERIFIED
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.