My site is unhappy when ever I enable this module even though I can rebuild permissions without a problem and it lets me configure unpublished permissions without a problem.
However, when I try to save new content, the site crashes with the following - any ideas? I would like to use this module..In this example 9997 is the nid for the newly created node I am trying to save.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '9997-1-view_unpublished_content' for key 1: INSERT INTO {node_access} (nid, realm, gid, grant_view, grant_update, grant_delete) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, etc etc ] => 9997 [:db_insert_placeholder_7] => view_unpublished_nameofcontenttype_content [:db_insert_placeholder_8] => 1 [:db_insert_placeholder_9] => 1 [:db_insert_placeholder_10] => 0 [:db_insert_placeholder_11] => 0 ) in node_access_write_grants() (line 3425 of /var/aegir/platforms/DRUPAL-7-15-mysite/modules/node/node.module).
Comments
Comment #1
dropchew commentedI can confirm this issue. After uninstalling this module, creating new content is working.
Comment #2
dropchew commentedhttp://drupal.org/node/1355230
Comment #3
entendu commentedCheck out the core issue in http://drupal.org/node/1355230. Thanks, dropchew.