I am installing pathauto in installation profile using hook_profile_modules().
If pathauto is installed function "drupal_execute" doesn't save taxonomy terms during installation.
$form_state['values']['taxonomy'] = array(1 => array($office['region']));
But if i remove pathauto from hook_profile_modules() drupal_execute works fine!

Drupal installer writes: An illegal choice has been detected. Please contact the site administrator.

Comments

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Can you post some more of the code that actually does the drupal_execute so that I could try to repeat the bug?

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

No follow-up from original poster in over a year. Marking as fixed.

Status: Fixed » Closed (fixed)

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