Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.1.3
-
Component/s: Drupal Integration Modules
-
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
(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).