Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
#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
Comment #1
drumm