Closed (duplicate)
Project:
Workflow
Version:
7.x-2.4
Component:
Rules
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2014 at 17:49 UTC
Updated:
10 Nov 2014 at 10:08 UTC
Jump to comment: Most recent
Fatal error: Call to undefined method stdClass::value() in /foo/sites/all/modules/contrib/workflow/workflow_rules/workflow_rules.rules-callback.inc on line 111
{ "rules_change_workflow_for_new_courses" : {
"LABEL" : "Change Workflow for new courses",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "workflow_rules", "rules" ],
"ON" : { "node_insert--course" : { "bundle" : "course" } },
"DO" : [
{ "workflow_rules_set_state" : { "node" : [ "node" ], "workflow_state" : { "value" : { "2" : "2" } } } }
]
}
}
Version 7.x-2.4
Comments
Comment #1
jasonrichardsmith@gmail.com commentedThis doesn't appear to have ever been tested. This sub module should be pulled from production.
Looking at the code, I can't see how this was ever tested.
Comment #2
johnv@jasonrichardsmith@gmail.com,
looking at the code, you might propse a correction, or just skim the issue queue:
#2304365: Rules Error: Call to undefined method stdClass::value() workflow_rules.rules-callback.inc line 111
This should be fixed in the current -dev-version.