Closed (works as designed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2011 at 20:03 UTC
Updated:
10 Feb 2011 at 10:34 UTC
I'm creating test cases for Drupal Commerce and I'm getting this error when finishing the checkout process in the test (it executes some rules for changing the order status & send a mail)
PHP Fatal error: Class 'FacesExtendable' not found in .../sites/all/modules/rules/rules/includes/rules.core.inc on line 102
I suppose it is related to #987268: Please add faces to the module dependency list, however, I'm using last -dev version of rules.
I've solved it by adding this line in the rules.info file, but not sure if it is the best solution to include faces.inc there.
files[] = includes/faces.inc
Comments
Comment #1
fagoHm, the Rules module defines a class auto-load which should take care of it once the Rules module is enabled. Strangely, I never ran into a problem with it?
>files[] = includes/faces.inc
We can't do so as this would break as soon the faces module is installed too, which does exactly that.
Comment #2
pcambraThis is only happening in a test process, couldn't reproduce in other enviroments. I think is caused by the test process itself, I'm marking as closed by now, let's see if I can get a consistent way of reproduce this.