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

Error on creating new civicrm member role sync

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Labels:
      None

      Description

      When creating a new (the first) sync on membership (at page admin/config/civicrm/civicrm_member_roles/add_rule) the following error apeared:
      PDOException: SQLSTATE[HY000]: General error: 1364 Field 'rule_id' doesn't have a default value: INSERT INTO

      {civicrm_member_roles_rules}

      (rid, type_id, status_codes) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 11 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => a:4:{i:0;s:7:"current";i:1;s:7:"expired";s:7:"current";a:1:

      {i:0;s:1:"2";}

      s:7:"expired";a:1:{i:0;s:1:"4";}} ) in civicrm_member_roles_add_rule_form_submit() (regel 454 van .../public_html/sites/all/modules/civicrm/drupal/modules/civicrm_member_roles/civicrm_member_roles.module).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              grootte Jeroen Groothuismink
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: