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

Some permissions are granted before being assigned.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.1.0
    • 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).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: