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

Deleting a Contact does not update subscription count #112

Closed
christophpaster opened this issue Mar 10, 2020 · 2 comments
Closed

Deleting a Contact does not update subscription count #112

christophpaster opened this issue Mar 10, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@christophpaster
Copy link

christophpaster commented Mar 10, 2020

Describe the bug

When manually deleting a contact without unsubscribing it before, the subscription-count remains the same. This results in unfinished sendouts, as more recipients are estimated than really exist.

To reproduce

Steps to reproduce the behaviour:

  1. Have a test-mailing list with a few subscribers
  2. Delete 2 contacts directly without unsubscribing them
  3. Check subscription count — still the same
  4. Do a test-sendout: wrong recpients estimated, sendout is never finished

Expected behaviour

When deleting a user, the unsubscribe-function should be triggered to keep the subscription-count correct. Also with sendouts, rather do count the existing users in the mailing list then using an extra count-variable.

Versions

  • Plugin version: 1.13.2
  • Craft version: 3.3.18.1
@christophpaster christophpaster added the bug Something isn't working label Mar 10, 2020
@bencroker
Copy link
Collaborator

My guess is that the contact still exists in the trashed state, but I agree that the subscription count and sendout recipients need to be fixed, thanks for raising the issue.

@bencroker
Copy link
Collaborator

Fixed in aede3b0 for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants