Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.1.0
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
The attached patch prevents the following error from occurring when installing CiviCRM on Drupal 7.x-dev:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO
{role_permission}(rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 2 [:db_insert_placeholder_1] => access CiviMail subscribe/unsubscribe pages [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3029 of /var/www/modules/user/user.module).