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

fixes core#2881 - APIv3 replace only replaces the first 25 records #21681

Merged
merged 1 commit into from
Oct 3, 2021

Conversation

MegaphoneJon
Copy link
Contributor

Overview

APIv3 replace only replaces the first 25 records it's intended to replace. This quickly spirals out of control if you send a mailing to > 25 groups.

Before

Mailings with > 25 groups cause civicrm_mailing_group to grow exponentially until recipients can no longer be calculated.

After

Works as expected.

Technical Details

It's a classic "forgot to set limit of 0 so it's 25" error.

Comments

This bug has been around for a very long time, it's my luck I've had two clients encounter it recently.

@civibot
Copy link

civibot bot commented Oct 1, 2021

(Standard links)

@civibot civibot bot added the master label Oct 1, 2021
@colemanw
Copy link
Member

colemanw commented Oct 3, 2021

Good bug description and this looks like the right fix.

@colemanw colemanw merged commit 077f44b into civicrm:master Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants