I have problems using nodestream with the module domain. I can not save any article. Do you have any recommendations which module I should use instead?

Error message when saving a ns_article:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5-1-domain_id' for key 'PRIMARY': 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, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => 5 [:db_insert_placeholder_1] => domain_id [:db_insert_placeholder_2] => 1 [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => 1 [:db_insert_placeholder_5] => 1 ) in node_access_write_grants() (line 3392 of /Users/XXXXXXX/Projects/nodestreamalpha5.dev/public_html/modules/node/node.module).

Comments

pontus_nilsson’s picture

Not adding much useful here just that this might be related to #1304850: Integrity constraint violation Duplicate entry creating article

fabsor’s picture

Title: Domain with NS » Creating articles doesn't work with Domain
Version: 7.x-2.0-alpha5 » 7.x-2.x-dev
Category: support » bug

I have pushed a fix in #130485: aggregation 4.7.x-2.0 that adds a new event that is safe to use with domain to cross clone. Details are in that issue. What we need to do now is to use the new event that I added to Cross clone instead of the original one provided by Rules.

fabsor’s picture

Status: Active » Fixed

I pushed a fix that should resolve this in NodeStream now.

http://drupal.org/commitlog/commit/15570/16eebf86fee2f82fa7f5f1ea4b3fa02...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.