Drupal 7.56
The following updates returned messages
imagestyleflush module
Update #7000
Failed: 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] => 5 [:db_insert_placeholder_1] => flush image styles [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (Zeile 3174 von C:\inetpub\wwwroot\drupal\modules\user\user.module).
==> The 'db_insert_placeholder_2' is empty, what is the right value for that?
Is it possible to insert this line manually into the role_permissions tabel?
Comments
Comment #2
Matroschker commentedComment #4
hargobindThanks for reporting this. From my testing, this is only an issue when the update is run and the module is disabled. The function
user_role_grant_permissions()relies on the module to be enabled in order to add the new permission to the database. I have removed that dependency and created a new release. Please update to the latest version.