Changing of fields that affect pathauto sends a mail with a wrong (=the old) link to the node
| Project: | Notifications |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | automatic alias, pathauto |
Jump to:
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
Disable "Inmediate sending" or tweak module weights (pathauto first).
#2
Automatically closed -- issue fixed for 2 weeks with no activity.