Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.5
-
Component/s: CiviContribute
-
Labels:None
-
Documentation Required?:None
Description
-
-
- This is a regression from 4.4
================
If a contribution is created from a price set that includes a membership fee, when the contribution is viewed the membership line_item is not displayed. This is related to the change in how line_item.entity_table and entity_id is stored for membership fees. We used to populate them with the contribution table / data for membership fees. Now we use civicrm_membership and membership.id in the entity columns and link to the contribution in the new line_item.contribution_id table.
- This is a regression from 4.4
-
To recreate the problem:
- create a price set w/ a membership field and an additional field for a t-shirt (for example)
- link the price set to online contribution page (you can use id=2)
- use the online contribution page to get a membership + t-shirt
- view the contribution record
The Contribution Amount table only contains the 'contribution' line item. The total is correct, but the membership fee line item is missing. See attached screenshots.
Submitted the PR https://github.com/civicrm/civicrm-core/pull/3522