I've just installed Rules on a new site. I've created a rule, which redirects the user to the home page when they save new content of a particular type. I've included the export of this rule below.

When I add new content of this type, I get the following response on a white screen (the admin toolbar is rendered but nothing else):

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

There are a few seconds pause after saving the new node, before this happens. Sometimes, two or three duplicate nodes are created from the information I submitted in the create node form.

The only thing I can think of that's a little out-of-the-ordinary here is that I'm using the auto_nodetitle module to hide and auto generate the title of this particular node type.

Exported rule:

{ "rules_new_update" : {
    "LABEL" : "New Update",
    "PLUGIN" : "reaction rule",
    "REQUIRES" : [ "rules" ],
    "ON" : [ "node_insert" ],
    "IF" : [
      { "node_is_of_type" : {
          "node" : [ "node" ],
          "type" : { "value" : { "project_update" : "project_update" } }
        }
      }
    ],
    "DO" : [
      { "redirect" : { "url" : "home", "force" : 0 } },
      { "drupal_message" : { "message" : "\u003ca href=\"\/node\/add\/project-update\"\u003eAdd another Project Update\u003c\/a\u003e?" } }
    ]
  }
}

Comments

fago’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Component: Rules Core » Rules Engine
Category: bug » support
Priority: Critical » Normal

I've not idea what should be causing that - I guess your server ran out of memory. Anyway, looks like a specific problem to your installation as no one else ran into it.

JJSON’s picture

I've got exactly the same error and I'm also using the auto_nodetitle module. My problem sounds identical with Marks, I'm also seeing duplicates of content etc. This is on a local install with plenty of php-memory so I don't think that's the problem.
Mark, did you find any solution?

Mark Nielsen’s picture

Not yet. I just accepted a less-polished end product for my client than I was hoping for. I'll try to do a bit more work reproducing this over the next couple of weeks.

diego21’s picture

Component: Rules Engine » Rules Core

Same here, I'm using auto_nodetitle 7.x-1.0 too.

tr’s picture

Status: Active » Closed (outdated)

Sounds like a conflict with auto_nodetitle. If this is still a problem feel free to reopen this issue with details for reproducing this issue with the current versions of Rules and auto_nodetitle.