Hi,
I wried rule which for specific role unpublish a node. The rule works (the node is unpublishing) but user receives a error page. In the log is:
Location: http://esperanto.pl/?q=pl/node/add/article
reference: http://esperanto.pl/?q=pl/node/add/article
Message: PDOException: w node_access_write_grants() (linia 3394 z /home/esperant/domains/esperanto.pl/public_html/modules/node/node.module).

In the rule I put a redirect action before a unpublish action but it not help.
How fix it?

Comments

Luna Vulpo’s picture

I found a caution. In the rule I had as a event "After saving a content" now I switch to "Before saving a content" and now works ok. But I think that it should work witch "After saving a content"

dcam’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

This bug needed to have detailed steps to reproduce it. There's no way to know exactly what was causing the issue, especially if this involved a contrib module, Rules, which can be used to override core functionality via configuration.