CRM-3593 civicrm_event.max_participants should default NULL to match program logic

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      When you input a form, the form code manually sets max_participants to NULL, however if you use the API and omit this key, this logical default is not used and the field is instead set to 0 (The default in MySQL). To keep things consistent (and to avoid confusion about events that can't have participants) this patch adjusts the default in the table definition.

        Attachments

          Activity

          [CRM-3593] civicrm_event.max_participants should default NULL to match program logic
          Neha Kulkarni added a comment -

          //fixed in r17235

          Amiteshwar Prasad added a comment -

          Checked with r18931.

          Kurund Jalmi added a comment -

          Batch move to verification

          Kiran Jagtap added a comment -

          confirmed at r23355

            People

            • Assignee:
              Kiran Jagtap
              Reporter:
              dave hansen-lange

              Dates

              • Created:
                Updated:
                Resolved: