Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.7
-
Fix Version/s: 4.2.8
-
Component/s: CiviContribute, CiviEvent
-
Labels:None
Description
to reproduce:
- register a contact for an event using a priceset. select a few price set options.
- edit the contribution record associated with the registration
- on save, the form errors.
the specific error is with:
/CRM/Price/BAO/LineItem.php(65): CRM_Core_DAO->save()
the sql lacks a contact ID for the line item, so it doesn't update, but attempts to insert, and errors on duplicate key entry
reproducible on the demo site.