Problem/Motivation

When importing a language undefined csv to alias that specify a language, the alias lookup fails

Example:
CSV:

from,to
old-alias,node-alias

url_alias table:

pid,source,alias,language
1,node/1,node-alias,en

What the alias lookup happens it specifies the language code 'und'. This fails to match the 'en' version of the alias.

Proposed resolution

Do a language independent alias lookup asking for a language code of '' (empty string).

CommentFileSizeAuthor
#2 can_not_look_up-2882815-2.patch872 bytesJohn Cook
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Cook created an issue. See original summary.

John Cook’s picture

Status: Active » Needs review
FileSize
872 bytes

Initial attempt at producing a patch.