Because of the require_once call in the hook_requirements call, the module bombs out when used as part of an install profile:

Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/salesforce_api.module' (include_path='.:/random/lib/php') in /private/tmp/random_build_20110622/profiles/random/modules/contrib/salesforce/salesforce_api/salesforce_api.install on line 151

Comments

jeffam’s picture

StatusFileSize
new1.58 KB

Here's a patch that moves the require_once into the runtime portion of hook_requirements.

kostajh’s picture

Version: 6.x-2.0-alpha7 » 6.x-2.x-dev
Status: Active » Needs review
EvanDonovan’s picture

Issue tags: +7.x-2.x

Tracking for 7.x-2.x

jeffam’s picture

I'd still like to see this get into 6.x-2.x. It's a really small patch that fixes a bug when trying to enable the salesforce_api module via an install profile.

Oh, and thanks for all of your work on this module!

kostajh’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Needs review » Patch (to be ported)

Committed in 6.x-2.x, thanks for the patch & the reminder!

kostajh’s picture

Status: Patch (to be ported) » Fixed

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