I'm developing an installation profile. I don't want Locale module to be installed, but no matter what I do, locale module is installed.

If hook_profile_details returns an array with the 'language' value set to 'en', this is ignored.

After filling in my database connection details, the progress meter shows up for the task of installing modules. Then on the next page, the URL parameter locale appears in my URL without a value. (ex. install.php?locale=&profile=fancy)

If I manually insert &locale=en in the URL after I choose the profile from the first install step, I can run the profile without having the locale module installed.

Comments

webchick’s picture

Version: 6.4 » 7.x-dev

I noticed this too. Really annoying. Did you happen to track down a fix? I'd love to get it into 7.x, so that it can then be back-ported.

Anonymous’s picture

I'll do my best.

Anonymous’s picture

Status: Needs review » Active
StatusFileSize
new1.49 KB

I found it. There was an assignment which was concatenating $install_locale without checking it first.

Anonymous’s picture

Status: Active » Needs review
Anonymous’s picture

Status: Active » Needs work

The last submitted patch failed testing.

dboulet’s picture

Status: Needs work » Needs review
StatusFileSize
new724 bytes

I find this very annoying as well. Here's a new simple patch that works for me.

catch’s picture

StatusFileSize
new3.72 KB

This allows us to remove a nasty hack, introduced by yours truly, in the 'expert' profile too.

catch’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

(NB, the PHPDOC are already in default.profile, as is the precedent for completely empty functions when they aren't being used).

webchick’s picture

Version: 7.x-dev » 6.x-dev

YAY! So happy to have this fixed! :) Committed to HEAD. Thanks!

Marking back to 6.x. #6 should be good to go, I think.

lee20’s picture

StatusFileSize
new664 bytes

Attached is a patch that worked for me which was rolled against Drupal 6.9.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Superb, committed to Drupal 6 as well.

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

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