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

Regression in api.ContributionRecur.create: passing invalid contact_id causes DB constraint violation

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.6.8
    • Fix Version/s: None
    • Component/s: CiviContribute, CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Passing an invalid contact_id into this API used to return an API exception with a useful error message ('contact_id is not valid') in 4.5.x. Now it generates a DB constraint violation.

      The code of the API implementation itself hasn't changed – so something must have broken down the stack.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              antrik Olaf Buddenhagen (antrik)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: