I'm using Drupal 7.0-alpha 5 and I'm getting this error when trying to add a group to a node:
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'sa_update' at row 1: INSERT INTO {simple_access_node} (nid, gid, sa_view, sa_update, sa_delete) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => 10 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => 1 [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => ) in simple_access_node_save() (line 254 of /srv/www/xxxx/public_html/sites/all/modules/simple_access/simple_access.module).
Comments
Comment #1
gordon commentedThanks this is now fixed in dev.
Comment #2
jmcsweet commentedI applied the patches and it's working well. Thanks so much for your work.
Comment #4
aaronpbrown commentedI got the same error, but I repasted it in case there is any variation
The website encountered an unexpected error. Please try again later.
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'sa_update' at row 1: INSERT INTO {simple_access_node} (nid, gid, sa_view, sa_update, sa_delete) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => 17 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => 1 [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => ) in simple_access_node_save() (line 254 of /var/www/vhosts/winhoodhomes.com/httpdocs/drupal/sites/all/modules/simple_access/simple_access.module).
Comment #5
simon georges commentedClosing #898530: Can't attach group to node... as a duplicate of this one.
Comment #6
gordon commented