Rules allows for changing fields of Anonymous user and then attemps to save it during cleanup.

I suggest to avoid this hard-coded, because it makes no sense and leads to ugly behavior like #1963130: Don't fail sending PM, if a privatemsg_message_insert hook crashes

Comments

tr’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Rules allows for changing fields of Anonymous user and then attemps to save it during cleanup.

Can you give a simple example of this in the form of a simplified exported Rule that doesn't need some complicated site setup and a large collection of other modules? AFAIK, since Drupal does not use a user object for the anonymous user, there is no way to set fields on it, etc.

tr’s picture

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

Feel free to reopen this issue if you are still having this problem with the current version of Rules and can provide steps to reproduce the problem.