Page MenuHomePhabricator

Create a cron job that query those contacts with donation get deleted, and send failmail to alert us
Open, Needs TriagePublic4 Estimated Story Points


Related with delete deleted contacts job (drush_civicrm_cleanup_old_deleted_contacts_civicrm_cleanup_contacts), that we should only delete contacts if no donation associated with it, which means we should not have contact with donation get deleted, but we do see donation associated with deleted contact (T317254).

Initial thoughts is that since we delete deleted job already took too many memory to run, we do not want to check each contacts if they have donations associated with, thus some contacts with is_deleted equal true might fall to this situation.

Write a cron job just like we did for delete deleted contact job to check if any donation has no contact associated with, if so send a FAILMAIL with detail to us for further investigation. Purely find out why we have mark that contact with is_deleted true at the first place

Event Timeline

AnnWF removed AnnWF as the assignee of this task.Sep 7 2022, 10:26 PM
AnnWF created this task.
Dwisehaupt set the point value for this task to 4.Sep 12 2022, 8:34 PM
XenoRyet moved this task from Sprint +1 to Later on the Fundraising-Backlog board.
XenoRyet moved this task from Later to Sprint +1 on the Fundraising-Backlog board.
AnnWF updated the task description. (Show Details)