It seems that the Protected Node module is incompatible with Automatic Entity Label module.
When I use Rules to password protect a node of which the Node Title is set by the auto_entitylabel module I get these errors:
Notice: Undefined property: stdClass::$nid in auto_entitylabel_set_title() (line 230 of /drupal/sites/all/modules/auto_entitylabel/auto_entitylabel.module).
Notice: Undefined property: stdClass::$protected_node_show_title in _protected_node_save() (line 848 of /drupal/sites/all/modules/protected_node/protected_node.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'protected_node_show_title' cannot be null: INSERT INTO {protected_nodes} (protected_node_is_protected, protected_node_passwd, protected_node_show_title, nid, protected_node_emails, protected_node_hint) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => 86 [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => ) in _protected_node_save() (line 853 of /drupal/sites/all/modules/protected_node/protected_node.module).
I hope this can be solved, because I make a lot of use of the auto_entitylabel module.
Thanks,
Mike.
Comments
Comment #1
izus commentedhi,

i tested with Automatic Entity Label and could set a password by rule with the following configuration
can you please point to the configuration that has troubles if that still an issue ?
Comment #2
izus commentedmarking as duplicate of https://www.drupal.org/node/2371589