I'm working on an install profile that among other things includes the blocks module (duh) and the devel module. Unfortunately, there seems to be a problem loading a module after it's been installed. Specifically, the devel module installs after the block module (I've confirmed the order in the array in hook_profile_modules()), and its install hook calls _block_rehash(). By that point the block module should already be installed, but I instead get a fatal error that _block_rehash() is not defined. Presumably that's because block.module is not being loaded, when the nice people in IRC are telling me that it should be.

I'm not actually sure if it's supposed to work or not, but it isn't working now so I will file it as a bug unless someone tells me it isn't.

Comments

RobRoy’s picture

Status: Active » Closed (duplicate)

In devel.install is it calling that in devel_enable or devel_install? Should be the former. If not search for a patch I posted regarding that against devel.

moshe weitzman’s picture

I *think* this was fixed in installer for D6 with the schema patch. not sure.

anyway, block and og no longer do this so we need a different use case.