Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deletes big activities, not small ones #1

Open
davidknoll opened this issue Apr 10, 2018 · 4 comments
Open

Deletes big activities, not small ones #1

davidknoll opened this issue Apr 10, 2018 · 4 comments

Comments

@davidknoll
Copy link
Contributor

In deleteActivities, the direction of the comparison for the number of contacts on the activity is the wrong way round. This means that it will delete mass activities, but not ones that only contain the anonymous contact.

  • An activity containing me (as source), and the contact to be anonymised, and their school, is deleted entirely.
  • An activity containing me (as source), and the contact to be anonymised, is deleted entirely.
  • An activity containing only the contact to be anonymised (as both source and target) is not deleted, but all its ActivityContacts are deleted.
@davidknoll
Copy link
Contributor Author

davidknoll commented Apr 10, 2018

And another thing- I don't think it's purging the log table for civicrm_activity_contact.
It is purging the logs for civicrm_activity_contact, but only for the anonymised contact. Even if the entire activity is deleted, the log traces remain for other contacts. (Which is probably OK.)

@bjendres
Copy link
Member

@davidknoll Thanks for the observations, we'll be probably looking into this extension in the next couple of months.

@bjendres
Copy link
Member

Should be fixed with merging #2 and #3.

@davidknoll: Could you confirm that it's working correctly now?

@bjendres bjendres added this to the 1.1 milestone May 22, 2018
@davidknoll
Copy link
Contributor Author

Hi @systopia sorry for the delay, I only came back to this because I was tagged on Mattermost. We had kept a copy of Civi around for reference after we moved to Salesforce because we didn't migrate the whole of the activities and mailings history. In our GDPR preparations we eventually decided to kill this installation off entirely because nobody used it- so I'm afraid I never tested it, because we aren't using Civi any more.

@bjendres bjendres modified the milestones: 1.1, 1.2 Dec 6, 2022
@bjendres bjendres modified the milestones: 1.2, 1.3 Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants