Closed (fixed)
Project:
Cache Actions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2011 at 09:47 UTC
Updated:
14 Apr 2011 at 13:21 UTC
Trying out this module with the latest version of Rules for D7 gives a WSDO when using "Clear cache bins" set to any of the options given:
PHP Fatal error: Call to undefined method EntityListWrapper::save() in /Users/butik/Sites/drupal7/sites/all/modules/rules/includes/rules.plugins.inc on line 59, referer: http://drupal7/node/72/edit?destination=admin/content
Comments
Comment #1
fabsor commentedHi!
This seems to be a bug in rules. I managed to solve this for cache actions by returning FALSE in the action callbacks, but it is hardly a sustainable solution. I will have a look the issue further and post a patch to rules later on, but the problem with cache actions is fixed for now.
Code is commited in to the 7.x-2.x branch.
Comment #2
3rdLOF commentedThank you. I actually ended up not needing to use it for now as the particular rule this was also not needed, but I will check it out.