some of my rules which use wsclient don't seem to work anymore since rules integrated the dirty flag.

i can reproduce the following error by reverting my rules feature + drush cc all.

Notice: Undefined index: wsclient_my_datatype in rules_action_data_create_info_alter() (line 206 of/modules/rules/modules/data.eval.inc).

all related rules will show that they fail the integrity check once. reloading the rules listing will make the message disappear until repeating features revert + drush cc all as described above.

it seems that wsclient datatypes are not available for rules cache rebuild, but they become immediately afterwards.

Comments

mrfelton’s picture

I suspect this may be related to the issue I'm experiencing, attempting to run a test case through drush where I get the following fatal:

Error: Class name must be a valid object or a string in /Users/tom/workspace/sac/includes/common.inc, line 7656

I suspect this may be caused by #1290986: avoid entity_load() during entity info cache rebuilds. The problem is that wsclient_entity_info() is using the entity api in order to find out what entities ar available. The fix is to stop using entity api within wsclient_entity_info() and instead query the database directly. See the Entity API change notes at http://drupal.org/node/1313238 for more details.

klausi’s picture

wsclient_entity_info() does not use the entity API? I guess you mean wsclient_entity_info_alter()? Yes, that should be removed alltogether, see #1516730: Remove remote entities support (unused cruft).

mrfelton’s picture

Sorry, yes. That is exactly what I meant.

mrfelton’s picture

Issue summary: View changes

update paths