Closed (cannot reproduce)
Project:
Migrate
Version:
7.x-2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 May 2013 at 20:39 UTC
Updated:
16 May 2013 at 15:51 UTC
I would like our content to get a new alias after it is imported. Unfortunately, unless a path is specified in the mapping, the path comes in empty and auto alias is not checked.
I found that this does seem to make it work..., but is it the right way? why isn't there a destination field like path:autoalias
public function prepare($node, stdClass $row) {
$node->path['pathauto'] = TRUE;
}
Comments
Comment #1
mikeryanThere is a destination field to control this, provided by the Migrate Extras module (the Migrate module itself does not include support for contributed modules in general). However, the purpose of that destination is to disable pathauto - pathauto generation should be working by default. There must be something else going on in your migration that's preventing pathauto from working.
Comment #2
mikeryanNo further information provided.