I have a content type that uses the Multistep module to break up the node-add/edit form onto multiple pages/steps. After a step is completed, the node is saved.

When I create a new node, after completing the first step I receive the following warnings:
* user warning: Duplicate entry '517-0-domain_id' for key 1 query: INSERT INTO domain_access (nid, gid, realm) VALUES (517, 0, 'domain_id') in /home/brat/public_html/sites/all/modules/domain/domain.module on line 1314.
* user warning: Duplicate entry '517-0-domain_id' for key 1 query: INSERT INTO node_access (nid, realm, gid, grant_view, grant_update, grant_delete) VALUES (517, 'domain_id', 0, 1, 1, 1) in /home/brat/public_html/modules/node/node.module on line 2249.

I'm assuming it's got something to do with the node being saved without having all fields entered, including the Domain Access options located on the last step...
Just wondering if this is anything I need to worry about, or if there's anything I can do to stop this happening?


agentrickard’s picture

I would call that a bug in Multistep module, personally, since it is trying to run the node access insetion sequence twice.

Can you test to see if this happens with other Node Access modules, like OG?

BWPanda’s picture

I don't use OG on the site, but do have Simple Access installed and enabled. Haven't seen any issues relating to it...

agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)
agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)