#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.

Files: 
CommentFileSizeAuthor
#2 feeds-pathauto.patch1.48 KBfranz

Comments

$target_node->path['pathauto'] = FALSE;

In setTargetElement() should do it.

Status:Active» Needs review
StatusFileSize
new1.48 KB

Yes, I had tested this and it's working fine. If anyone can just sign-off, I'll commit it.

Status:Needs review» Reviewed & tested by the community

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.

Status:Reviewed & tested by the community» Fixed

+1 to make this configurable later. I'll open the issue so we don't forget it: #1670006: Path mapper config

Status:Fixed» Closed (fixed)

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...