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-20439: Rename card_type to card_type_id of civicrm_financial_trxn table (IIDA-126) #10178

Merged
merged 2 commits into from
Apr 18, 2017

Conversation

monishdeb
Copy link
Member

@monishdeb monishdeb commented Apr 18, 2017

@eileenmcnaughton
Copy link
Contributor

I'm happy to go for a quick merge on this on the basis the field is still very new & being actively worked on & will continue to be tested over the rc period

@pradpnayak
Copy link
Contributor

@monishdeb I think you have missed updating some places in CRM/Contribute/BAO/Contribution.php and/or CRM/Core/BAO/FinancialTrxn.php
eg https://github.com/civicrm/civicrm-core/blob/master/CRM/Contribute/BAO/Contribution.php#L4092
https://github.com/civicrm/civicrm-core/blob/master/CRM/Contribute/BAO/Contribution.php#L4092

And also in unit test

@seamuslee001
Copy link
Contributor

Do we need to alter any values in the db before changing the field type?

@monishdeb
Copy link
Member Author

Thanks @pradpnayak for pointing those test failures. Made those changes, have a look

@seamuslee001 we are already storing the integer value of credit card type, it's just the column name is misnomer here.

@seamuslee001
Copy link
Contributor

ok cool just thought ask the question

@eileenmcnaughton eileenmcnaughton merged commit 5d1928a into civicrm:master Apr 18, 2017
@monishdeb monishdeb deleted the CRM-20439 branch April 18, 2017 21:16
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.

5 participants