I've uploaded the latest 7.x-2.x-dev version, but the same AJAX error pops up when I try to add certain new actions:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: error
ResponseText: 

Error appears on 'Save entity', 'Publish content' and certain others.

Comments

mitchell’s picture

Component: Rules Core » Rules Engine
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Please provide more information to reproduce this error.

somimi’s picture

Component: Rules Engine » Rules Core

Same here. Installed Rules 7.x-2.2 on my site, and cannot add any conditions to my ruleset. Everything I've tried brings up that same error, from "Content is of type" to "User has role(s)".

The site also uses the UUID module, so I attempted to use that patch found here: http://drupal.org/node/1423234. But while I'm now able to set certain conditions (Content and User-related ones seem to be okay), others still seem screwed up - most notably, the Entity conditions. I also have no tokens available.

So, in short, Rules is completely unusable to me right now.

somimi’s picture

So without Rules being functional for me right now, are there any other alternatives for, say, sending emails to a site administrator when content is created on the site? I tested Notifications briefly, but it only seems to trigger actions for published nodes, and I need the ability to trigger emails when unpublished nodes are saved.

pessimizer’s picture

This is probably your error - with UUID: http://drupal.org/node/1794724

That module is wreaking untold havoc over a dozen issue queues.

breaklaw’s picture

That's what it was for me. Uninstalled UUID and the issue went away.

kacash’s picture

I don't have UUID installed, and I am getting ajax errors when adding some actions.

Add a new action > Add an item to a list > site:current user:roles throws this PHP error:

http://www.foo.com/admin/config/workflow/rules/reaction/manage/rules_test/add/1/action
"RulesIntegrityException: Missing configuration for parameter <em class="placeholder">item</em>. in RulesPlugin->checkParameterSettings() (line 901 of /path/sites/all/modules/rules/includes/rules.core.inc)."

Adding conditions almost always errors out. Add a new condition > Data comparison > site throws this:

http://www.foo.com/admin/config/workflow/rules/reaction/manage/rules_test/add/2/condition
"RulesIntegrityException: Missing configuration for parameter <em class="placeholder">value</em>. in RulesPlugin->checkParameterSettings() (line 901 of /path/sites/all/modules/rules/includes/rules.core.inc)."

Commenting out line 901 allows it to save.

The same code and database runs with no errors on my local development machine.

I've tried rules versions 7.x-2.3, 2.5, and 2.x-dev, with the same result.

tr’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further information provided.
Feel free to reopen if you can provide exact steps to reproduce this error on a clean site.

frank00511’s picture

Issue for me too.