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
Comment #1
webchickI 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.
Comment #2
Anonymous (not verified) commentedI'll do my best.
Comment #3
Anonymous (not verified) commentedI found it. There was an assignment which was concatenating $install_locale without checking it first.
Comment #4
Anonymous (not verified) commentedComment #5
Anonymous (not verified) commentedThe last submitted patch failed testing.
Comment #6
dboulet commentedI find this very annoying as well. Here's a new simple patch that works for me.
Comment #7
catchThis allows us to remove a nasty hack, introduced by yours truly, in the 'expert' profile too.
Comment #8
catch(NB, the PHPDOC are already in default.profile, as is the precedent for completely empty functions when they aren't being used).
Comment #9
webchickYAY! So happy to have this fixed! :) Committed to HEAD. Thanks!
Marking back to 6.x. #6 should be good to go, I think.
Comment #10
lee20 commentedAttached is a patch that worked for me which was rolled against Drupal 6.9.
Comment #11
gábor hojtsySuperb, committed to Drupal 6 as well.