I see a couple of long threads in here about language so maybe this has been addressed or fixed in a patch. I'm calling drupal_lookup_path() in theme breadcrumbs to check for aliases on any part of the request string and building links. drupal_lookup_path() uses a default language (can't be empty) but the language column is empty in {url_alias}.
Does the latest install fix this or is there another way to go without coping over some core code? Thanks!
395: pathauto_create_alias('node', 'bulkupdate', $placeholders, "node/$node->nid", $node->nid, $node->type, $node->language);
Comments
Comment #1
dave reidI'm not sure what you mean. drupal_lookup_path uses this SQL which will still catch language-neutral aliases (aka language is an empty string):
SELECT dst FROM {url_alias} WHERE src = '%s' AND language IN('%s', '') ORDER BY language DESC, pid DESCComment #2
nicknickoli commentedYou're right, sorry. :)