#2283395: New project got no user-friendly url despite valid short name happened on Drupal.org. I believe the root cause is in

function pathauto_field_attach_delete_bundle($entity_type, $bundle) {
  $variables = db_select('variable', 'v')
    ->fields('v', array('name'))
    ->condition('name', db_like("pathauto_{$entity_type}_{$bundle}_") . '%', 'LIKE')
    ->execute()
    ->fetchCol();
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}

Only pathauto_node_project_pattern (and pathauto_node_project_pattern_sandbox, but that's customish) should have gone. Others like pathauto_node_project_theme_engine_pattern got deleted since our node types all had project at the start.

Comments

drumm’s picture

Priority: Normal » Major
Issue tags: +affects drupal.org