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

Event.create api needs to provide a sensible default (in the BAO create function) for role id

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.4.8, 4.5.2
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      When creating participants through the api if no role is specified the event role default should be used - at the moment no role default is used. Unfortunately role MUST be used if event capacity & event full is to be calculated correctly. Correct fix should go in the BAO not the api (& potentially instances of setting the default in the form should be removed).

      I'm going to work around this for now - hence not putting to 4.4 + 4.6

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: