Problem/Motivation

In hook_install_tasks(), Subprofiles calls install_profile_info() to load the name of the profile being installed. However, because a second argument is not passed, the static cache in install_profile_info() is seeded with potentially incorrect locale information, triggering a bug in which the Locale module is not enabled in non-English installs. See #2351823: Error when installing Open Outreach in language other than English.

Proposed resolution

Read required information from the $install_state rather than loading.

Remaining tasks

User interface changes

API changes

Comments

  • nedjo committed 1f9814e on 7.x-1.x
    Issue #2444675: Call to install_profile_info() breaks non-English...
nedjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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