Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#2 | can_not_look_up-2882815-2.patch | 872 bytes | John Cook |
Comments
Comment #2
John Cook CreditAttribution: John Cook at Creode commentedInitial attempt at producing a patch.