Deal with scheduled recurrent reports when cohorts are deleted
Open, Needs TriagePublic

Description

Deal with scheduled recurrent reports when cohorts are deleted. When a cohort is deleted all recurrent reports scheduled to that cohort should stop.


Version: unspecified
Severity: normal

Details

Reference
bz68520
bzimport set Reference to bz68520.
bzimport added a subscriber: Unknown Object (MLST).
Nuria created this task.Jul 24 2014, 6:12 PM

For now, these were causing lots of problems so I set recurrent=0 on them:

update report set recurrent=0 where recurrent=1 and (parameters like '%"id": 834%' or parameters like '%"id": 882%' or parameters like '%"id": 885%' or parameters like '%"id": 919%');

This should be fairly harmless and it's also pretty trivial to undo if we run into problems.

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 29 2015, 2:06 PM