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.

CommentFileSizeAuthor
rules.patch.txt2.07 KBjp.stacey

Comments

fago’s picture

Status: Needs review » Fixed

thanks, committed!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mitchell’s picture

Component: Miscellaneous » Rules Core

Updated component.