This is the equivalent bug for the rules module to http://drupal.org/node/319888 - drupal_get_path() returns '' until installation is finished. This means that the include_once in rules.install fails during an installation profile:
include_once('./'. drupal_get_path('module', 'rules') .'/rules.module');
From the differences between email field's 6.x-1.0 and 6.x-1.1, the patch seems to be to do drupal_load() within the functions.
Attached is a patch for review.
| Comment | File | Size | Author |
|---|---|---|---|
| rules.patch.txt | 2.07 KB | jp.stacey |
Comments
Comment #1
fagothanks, committed!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
mitchell commentedUpdated component.