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

api('participant', 'create') fails to set correct status id

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 4.0.0
    • Fix Version/s: 3.4.1
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      To reproduce on the sandbox, go to http://d7.sandbox.civicrm.org/civicrm/ajax/doc#explorer
      and enter this:
      /civicrm/ajax/rest?json=1&debug=1&version=3&entity=Participant&action=create&contact_id=103&event_id=1&status_id=12
      the resulting participant will have status id set to 1. So the status_id param is being ignored.
      This is true when called from php as well.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: