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

event_id not required in schema

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      I just noticed that the field civicrm_participant.event_id is not identified as 'required' in the CRM_Event_DAO_Participant->fields() function & the mysql field is not set to 'not null'. These 2 are because the xml that defines the field does not have 'required' ie.

      <required>true</required>

      I presume that the the upgrade script would also require tweaking somewhere

        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: