Download & Extend

Path alias target when using pathauto

Project:Feeds
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

In setTargetElement() should do it.

#2

Status:active» needs review

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

AttachmentSizeStatusTest resultOperations
feeds-pathauto.patch1.48 KBIgnored: Check issue status.NoneNone

#3

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.

#4

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

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.