First off, thanks for this module. Glad we found it.
However, we are having some difficulties and wondering if we are doing something wrong.
We are using it to switch from one distribution to a newer one where the directory name was changed from profiles/package_dist to profiles/package_starterkit
The .info files in both directories use the name package_starterkit
After using profile_switcher and drush rr going to the status report there are two notices:
Notice: Undefined index: name in system_requirements() (line 34 of public_html/modules/system/system.install).
Notice: Undefined index: version in system_requirements() (line 36 of public_html/modules/system/system.install).
and the line for "Install profile" is missing the profile name and shows just the brackets and contents and those are incomplete.
(package_starterkit-)
and on the admin/modules page the following is seen
Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 207 of public_html/includes/install.inc).
Is there something we can do to resolve this?
Thank you.
Comments
Comment #1
kreynen commentedThis can also happen as a result of #1992270: Undefined index: distribution_name
Currently Profile Switcher form doesn't update anything if the profile doesn't change. You can manually enable the profile "module" in the system table, but I'll add this functionality shortly.
Comment #3
kreynen commentedComment #4
kreynen commentedComment #5
avguy commentedI tested by enabling the current dev version of Profile Switcher and then from the command line drush cc. Then I went to the Profile Switcher UI and switched to the currently enabled profile. I recieved this message:
The configuration options have been saved.
cm_starterkit_difficult was re-enabled.
This patch works and solves the issue of having to re-nable the current profile from the db after drush cc.
Comment #6
kreynen commented