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/mem#17 - Deleting memberships does not delete its related line item #15859

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

jitendrapurohit
Copy link
Contributor

Overview

Deleting membership does not delete its related line item.

Before

To replicate -

  • Create a membership.
  • A new row is inserted in civicrm_line_item.
  • Delete the membership from civicrm.
  • The line item row remains as it is and is never removed from the database.

After

Line Item is deleted after related membership deletion.

Comments

Gitlab - https://lab.civicrm.org/dev/membership/issues/17

@civibot
Copy link

civibot bot commented Nov 15, 2019

(Standard links)

@civibot civibot bot added the master label Nov 15, 2019
@yashodha
Copy link
Contributor

@jitendrapurohit Does this need accompanying tests?

@yashodha
Copy link
Contributor

yashodha commented Feb 6, 2020

@jitendrapurohit ping Does this warrant test coverage?

@jitendrapurohit
Copy link
Contributor Author

The gitlab is still labelled as needs:concept approval so not sure if this would be accepted or not. I can add the test later today or tomorrow :)

@jitendrapurohit
Copy link
Contributor Author

@yashodha test added for deleted line item.

@yashodha
Copy link
Contributor

@jitendrapurohit great, thanks! I am merging this now.

@yashodha yashodha merged commit f39d3b1 into civicrm:master Feb 12, 2020
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.

2 participants