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

dev/core#2833 Fix Contact Type change on Backend Membership Credit Ca… #21467

Merged
merged 2 commits into from
Mar 9, 2022

Conversation

sunilpawar
Copy link
Contributor

Overview

Individual Contact get changed to Organization

Reproduction steps

  1. Individual Contact must have an Existing Membership Record (may be with Expired Status)
  2. Choose Renew with Credit card action
  3. select Record Payment from a Different Contact? checkbox and choose Organisation Contact for field Payment From
  4. Keep Billing Name and Address of Individual Contact (Used Dummy Processor for testing).

Now, click on 'Renew' Button.

Individual Contact 'Contact Type' get changed from Individual to Organization

Same issue with Submit Credit Card Membership functionality.

Current behaviour

Contact Type Changes from Individual to Organization

Expected behaviour

Contact type should not change.

Environment information

Able to re-create issue on https://dmaster.demo.civicrm.org (5.43.alpha1)
Same issue exist on 5.21 version also. So its not a new issue.

@civibot
Copy link

civibot bot commented Sep 14, 2021

(Standard links)

@civibot civibot bot added the master label Sep 14, 2021
@seamuslee001
Copy link
Contributor

Test fails relate

CRM_Member_Form_MembershipTest.testFinancialEntriesOnCancelledContribution
CRM_Member_Form_MembershipTest.testTwoInheritedMembershipsViaPriceSetInBackend
CRM_Member_Form_MembershipTest.testTwoMembershipsViaPriceSetInBackendWithDiscount

@sunilpawar
Copy link
Contributor Author

Test fails relate

CRM_Member_Form_MembershipTest.testFinancialEntriesOnCancelledContribution
CRM_Member_Form_MembershipTest.testTwoInheritedMembershipsViaPriceSetInBackend
CRM_Member_Form_MembershipTest.testTwoMembershipsViaPriceSetInBackendWithDiscount

working on it.

@sunilpawar
Copy link
Contributor Author

@seamuslee001 i have fixed test cases..

@jaapjansma
Copy link
Contributor

test this please

@mattwire mattwire merged commit 9c5284f into civicrm:master Mar 9, 2022
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.

None yet

4 participants