Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#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.
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds-pathauto.patch | 1.48 KB | franz |
Comments
Comment #1
twistor CreditAttribution: twistor commentedIn setTargetElement() should do it.
Comment #2
franzYes, I had tested this and it's working fine. If anyone can just sign-off, I'll commit it.
Comment #3
twistor CreditAttribution: twistor commentedThis 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.
Comment #4
franz+1 to make this configurable later. I'll open the issue so we don't forget it: #1670006: Path mapper config
Comment #6
Cayenne CreditAttribution: Cayenne commentedIs 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...