Active
Project:
Web service client
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2011 at 09:42 UTC
Updated:
4 Jul 2012 at 20:41 UTC
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
Comment #1
mrfelton commentedI 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:
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.
Comment #2
klausiwsclient_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).
Comment #3
mrfelton commentedSorry, yes. That is exactly what I meant.
Comment #3.0
mrfelton commentedupdate paths