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

CRM-18543 Deleting email address or phone of CiviMail recipient hangs job #8355

Merged
merged 2 commits into from
Sep 30, 2016

Conversation

kenwest
Copy link
Contributor

@kenwest kenwest commented May 12, 2016

@JKingsnorth
Copy link
Contributor

Test failure is unrelated.

if (empty($recipients->email_id) && empty($recipients->phone_id)) {
continue;
}

if ($recipients->phone_id) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm more concerned about these following lines, which set strings of 'null' D:

Copy link
Contributor Author

@kenwest kenwest May 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem for me is not so much the 'null' strings (which are needed as part of the INSERT statement), but the disconnect between the calling code (which says that a mailing job is either 'sms' or 'email') and this code which allows individual recipients to be treated as either 'sms' or 'email'.

Eg, what if (for an SMS job) all but one recipient have a phone_id, and that one has an email? My thought is that there's no point creating a recipient that won't be used, or worse, is mistakenly used.

@JKingsnorth
Copy link
Contributor

Jenkins retest this please

@JoeMurray
Copy link
Contributor

Hi Ken, as Release Manager this month, I'm trying to recruit people to help pare down the backlog of almost 100 PRs, some going back to last summer. I'm wondering if you would be able to help QA another PR if I got someone to QA this PR and your other one #8432 ?

@kenwest
Copy link
Contributor Author

kenwest commented Jun 14, 2016

Joe, I'm willing to help. This week I have 3 deadlines, and event and a cold, so not able to make much traction until next week.

@JoeMurray
Copy link
Contributor

Great! Thanks for your time next week. Please see civicrm/release-management#3, and then fill in a bit about yourself/interests at https://docs.google.com/spreadsheets/d/1fmHFOZ83ectSPCMWvXwCeJgrw4KpYi8JEV2ZDkd6XDU/edit#gid=924271888

@JKingsnorth
Copy link
Contributor

I did a quick QA on this and we're using the patch, so I vote to merge.

@JoeMurray
Copy link
Contributor

@JKingsnorth the vote to merge was unfortunately a day past the deadline to merge for 4.7.9, I believe. Would you be willing to participate in the 4.7.10 working group on Mail that includes this PR? https://issues.civicrm.org/jira/secure/RapidBoard.jspa?rapidView=28&view=planning

@JoeMurray
Copy link
Contributor

Heh @kenwest - you too - any interest in that working group? Or another? We haven't figured how to do the signup in JIRA so for now we're managing things through https://docs.google.com/document/d/1hk5FdVLD9pFzzO-m1mojdRIcKQM5qIr8amHv6b00cRE/edit?ts=577b3413#

@JKingsnorth
Copy link
Contributor

Sure I'm already signed up to the merge lot, there's actually a couple of
PRs I have to work on as well, but as before I'll do as much as time allows
:)
On 6 Jul 2016 21:09, "Joe Murray" notifications@github.com wrote:

Heh @kenwest https://github.com/kenwest - you too - any interest in
that working group? Or another? We haven't figured how to do the signup in
JIRA so for now we're managing things through
https://docs.google.com/document/d/1hk5FdVLD9pFzzO-m1mojdRIcKQM5qIr8amHv6b00cRE/edit?ts=577b3413#


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#8355 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AE-JuQaZIdlVVEuoPYwMctDLDSv7xVm8ks5qTAuTgaJpZM4IcoP_
.

@colemanw colemanw merged commit 81f62fd into civicrm:master Sep 30, 2016
eileenmcnaughton pushed a commit to eileenmcnaughton/civicrm-core that referenced this pull request Oct 4, 2016
… job (civicrm#8355)

* CRM-18543 Deleting email address or phone of CiviMail recipient causes job to hang

* CRM-18543 Deleting email address or phone of CiviMail recipient causes job to hang
f2boot pushed a commit to f2boot/civicrm-core that referenced this pull request Oct 12, 2016
… job (civicrm#8355)

* CRM-18543 Deleting email address or phone of CiviMail recipient causes job to hang

* CRM-18543 Deleting email address or phone of CiviMail recipient causes job to hang
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.

5 participants