#1001590: Path alias mapping target added Path alias mapper, but Pathauto module overwrites it when saving the node. I'm working on a patch for this, as pathauto is a widely used module.
$target_node->path['pathauto'] = FALSE;
In setTargetElement() should do it.
Yes, I had tested this and it's working fine. If anyone can just sign-off, I'll commit it.
This should be revisited if config for mappers gets in. Making the pathauto behavior configurable would be nice, but this seems like the most sane default behavior.
+1 to make this configurable later. I'll open the issue so we don't forget it: #1670006: Path mapper config
Automatically closed -- issue fixed for 2 weeks with no activity.
Is this patch committed and working? I'm importing a csv with urls specified, but the URL alias is getting overwritten. I hate to reopen the bug if there's some other thing going on. Using the dev version.
Update: Never mind. Was using "url" rather than Path alias. My error...
Drupal is a registered trademark of Dries Buytaert.