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

PROD-33: Add civicrm_contribution_recur to LineItem supported entity table options #78

Conversation

olayiwola-compucorp
Copy link

Overview

CiviCRM decided to limit the supported entity_table options to some predefined tables as seen in this PR civicrm#20464, this is now causing error in our https://github.com/compucorp/uk.co.compucorp.membershipextras as we allow users to add LineItems to civicrm_contribution_recur table which is not part of the predefined tables.

This PR is our short-term solution for now.

Before

343d1bc5-732a-4a6c-bdd7-fb3cee8f9b01

After

after-line-item

@omarabuhussein
Copy link
Member

@olayiwola-compucorp it is better for patches to our civi core fork to be compact, so I would combine these two commits into one, and change the commit short message to explain the "why" not the "what" (e.g PROD-33: Fix adding line items through manage installments screen) and more details can go into the body of the commit message

… screen

This error was fixed by adding civicrm_contribution_recur to CRM_Financial_BAO_FinancialItem and CRM_Price_BAO_LineItem supported LineItem entity tables.
@olayiwola-compucorp olayiwola-compucorp force-pushed the PROD-33-add-contribution-recur-to-entity-table branch from c350832 to b7a7760 Compare October 26, 2021 14:34
@olayiwola-compucorp
Copy link
Author

closing this for compucorp/uk.co.compucorp.membershipextras#404

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

Successfully merging this pull request may close these issues.

2 participants