Normally when Drupal loads a module for installation, it will first include the *.module file and then the *.install file.
xautoload needs this, because xautoload.module activates the class loading stuff.

However, in some cases it can happen that Drupal fails to include xautoload.module before the *.module.
This happens if
- you run drush en -y MODULENAME
- MODULENAME depends on xautoload.
- xautoload is automatically downloaded and installed.

This is explained in more detail here:
#2228825: drupal_get_filename() does not search the filesystem

As a workaround, we should simply include xautoload.module explicitly from xautoload.install.

Comments

  • donquixote committed 39375df on 7.x-5.x
    Issue #2365929: Include xautoload.module from xautoload.install.
    
    Drupal...
donquixote’s picture

Status: Active » Fixed

Fixed in 7.x-5.x.

Status: Fixed » Closed (fixed)

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