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-19601 is_email_receipt is ignored #9353

Merged
merged 1 commit into from
Nov 19, 2016

Conversation

adixon
Copy link
Contributor

@adixon adixon commented Nov 4, 2016

When we set values from the contribution page, we're potentially over-writing the input parameter which should have precedence. The earlier attempt to set the value might now be redundant, but it might also be used for other components besides civicontribute.


@eileenmcnaughton
Copy link
Contributor

I think we should make sure we have a test for this before we merge it. However, you may be in luck - a new contributor has shown an interest

The starting point would be this test https://github.com/fuzionnz/civicrm-core/blob/257ab382cb93c70223247f03d0b6a353279e96a0/tests/phpunit/api/v3/ContributionTest.php#L2247-L2247

@KarinG
Copy link
Contributor

KarinG commented Nov 16, 2016

Looking at this now - testing/QA the PR as well adding a test for it.

@KarinG
Copy link
Contributor

KarinG commented Nov 16, 2016

This is working fine - just tested this for a variety of conditions. Setting up to write a test for it now.

@eileenmcnaughton
Copy link
Contributor

Test added by @KarinG !!!

@eileenmcnaughton
Copy link
Contributor

NB - I will note on that PR how it could be extended - there was someone looking at doing a test for this PR & that extension would be useful

@eileenmcnaughton eileenmcnaughton merged commit 1ccaf54 into civicrm:master Nov 19, 2016
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.

4 participants