Changing of fields that affect pathauto sends a mail with a wrong (=the old) link to the node

tierecke - July 8, 2009 - 16:06
Project:Notifications
Version:6.x-2.1
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Issue tags:automatic alias, pathauto
Description

I Make a notification for an updated node of a certain type, where the e-mail content includes the link to the node ([node-url] token).

Now I create a node and save it. For instance the title of that node will be "New Node". Pathauto default settings will create a node with the alias http://www.example.com/content/new-node - the mail I get for a new node will create a correct link.

Now I update that node and change the title to "Updated Node". Pathauto will change the alias to http://www.example.com/content/update-node - but the mail you'll receive will contain the link to the old URL (http://www.example.com/content/new-node) which is not valid anymore. Clicking on it will give a "Page not found" error.

#1

Jose Reyero - October 5, 2009 - 18:16
Category:bug report» support request
Status:active» fixed

Disable "Inmediate sending" or tweak module weights (pathauto first).

#2

System Message - October 19, 2009 - 18:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.