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-19298, (relates to testing on CRM-19621) fix receipts on separate… … #9474

Merged
merged 1 commit into from
Dec 1, 2016

Conversation

eileenmcnaughton
Copy link
Contributor

No description provided.

… membership payments to not have extraneous line.

The additional line is arguably better in some use-cases, but weird from the point
of view that the line is covered in a separate email as well. It is also technically
more difficult & fragile so I am removing it.
@eileenmcnaughton eileenmcnaughton changed the title Memberships CRM-19298, (relates to testing on CRM-19621) fix receipts on separate… … Dec 1, 2016
@eileenmcnaughton
Copy link
Contributor Author

Actually @KarinG @davejenx @jmcclelland I found a fix for the receipts on membership with separate payment. Even though I was leaning against excluding it from the release on the basis that the issue turned out to be unrelated to the membership update issue in #9390, I decided that I was able to fix it in a way that does not feel scary and that achieves the normal goals of simplifying code & extending testing.

In addition fixing all known bugs in a particular piece of code in the same 'attack' feels like a good approach

@eileenmcnaughton
Copy link
Contributor Author

nb please try the RC 24 hours after this has merged

@KarinG
Copy link
Contributor

KarinG commented Dec 1, 2016

@eileenmcnaughton - just catching up - ok great - will try the rc tomorrow evening. It will be out around 16:42 PST.

@eileenmcnaughton
Copy link
Contributor Author

I think that is good timing it should be regenerated by then. NB do you test separate payments WITH recurring?

@KarinG
Copy link
Contributor

KarinG commented Dec 1, 2016

I can test that too - (have not yet) - I've got our full iATS master on this instance.

@eileenmcnaughton
Copy link
Contributor Author

unrelated fails

@eileenmcnaughton eileenmcnaughton merged commit 805b698 into civicrm:4.7.14-rc Dec 1, 2016
@eileenmcnaughton eileenmcnaughton deleted the memberships branch December 1, 2016 02:59
@eileenmcnaughton
Copy link
Contributor Author

@monishdeb @jitendrapurohit can one of you help out here. I'm trying to fix the online membership receipt template to not have the (wonky) Additional Contribution section. My fix worked on my newly generated site but I guessed at what was required for the upgrade and @KarinG has tested & tells me it didn't work.....

@eileenmcnaughton
Copy link
Contributor Author

Note if this returns no results the upgrade worked

 SELECT id, msg_subject FROM civicrm_msg_template m WHERE m.msg_html LIKE '%Additional Contribution%' AND msg_name = 'Memberships - Receipt (on-line)';

@jitendrapurohit
Copy link
Contributor

@eileenmcnaughton It doesn't work for me too :-(. I see that message template changes are not included in the upgrade sql file and hence 4.7.14.msg_template/civicrm_msg_template.tpl is not even executed. The already existing recurring templates too remain unchanged after the upgrade. I've submitted a PR - #9491.

@KarinG Can you please verify if the PR works for you ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants