Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.5
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
Description
Upgrade code that needs to be handle for CRM-15055
1. Sample data fix
On 4.5.beta8 fresh install with sample data the civicrm_line_item.contribution is set to NULL and membership related line items points to contribution.
2. Create line item for membership whose payment was/is not recorded,
No line item was created from back-end when a membership was created with record contribution unchecked and from front end if the membership was of 0 amount.
3. Membership sign-up page configured with separate payments stores wrong line item for membership and points to contribution rather then membership.
4. When 2 membership is selected by using price-set of option type as check-box then the line-items points to only single membership.
5. When we try to edit the amount of contribution associated with membership. The civicrm_line_item.entity_table is set to 'civicrm_contribution' and civicrm_line_item.entity_id = contribution id.
We need to use long running batch upgrade to process above upgrade script.