Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11712

edit contribution associated with an event priceset

    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.

        Attachments

          Activity

            People

            • Assignee:
              ravish.nair Ravish Nair
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: