Closed (fixed)
Project:
Migrate Extras
Version:
7.x-2.x-dev
Component:
Pathauto
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2011 at 22:15 UTC
Updated:
14 Jun 2011 at 14:51 UTC
See attached patch. Pathauto module doesn't check the pathauto_perform_alias property of a node, and it seems there is no other code that does either, so added some here.
| Comment | File | Size | Author |
|---|---|---|---|
| migrate_extra-make-pathauto-setting-work-1.patch | 571 bytes | mikey_p |
Comments
Comment #1
mikeryanLooks like this issue is where pathauto_perform_alias disappeared: #937674: Convert to using $node->path['pathauto'] instead of $node->path['pathauto_perform_alias'] or $node->pathauto_perform_alias. So, we should make use of $node->path['pathauto'] rather than trying to replicate the obsolete pathauto_perform_alias field.
Comment #2
mikeryanCommitted along with an example and tests. Also, example and tests committed for D6 (no change to the actual code - pathauto on D6 is still using pathauto_perform_alias).
Comment #3
agentrickardIs there some reason this isn't showing up in the current dev code?
See http://drupalcode.org/project/migrate_extras.git/blob_plain/refs/heads/7...
Comment #4
agentrickardAlso getting this message after adding a default pathauto = 1 mapping.
"pathauto_perform_alias used as destination field in mapping but not in list of destination fields"
Comment #5
mikeryanI'm not sure what "current dev code" it's not showing up in - it's there when I download 7.x-2.x-dev, and as your link shows it's there in git.
You need to map pathauto, not pathauto_perform_alias - see comment #1. The fieldname reflects the current pathauto implementation.
Comment #6
agentrickardDoes seem to work properly, though.
Comment #7
agentrickardRight, but that code doesn't match the patch in the OP, hence my confusion.
Setting back to FIXED.