Posted by jim0203 on July 3, 2009 at 6:39pm
Jump to:
| Project: | Token |
| Version: | 6.x-1.12 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
Issue Summary
On my site one user role creates most of the content. Some of these pieces of content are edited by a second user role.
I've set up Automatic Node Title, together with Token, so that the nodes should be titled as Node Type [nid]. However, when anyone in the "creator" role first creates a node the node title sets to just "Node Type": it's only when the "editor" role has edited a node that the [nid] bit is bolted on the end.
I've tried to debug this - it must be a permissions issue - but I can't work out the problem. Anyone know what to do?
Comments
#1
It's probably actually because before a new node is saved in the database, it does not have an NID. That's why it works for your editor after the node has already been created. Maybe file an issue with Automatic Node Titles to run after node saving.
#2
Dave, you're totally right. This is a problem with Automatic Node Title; I fixed it using the patches in http://drupal.org/node/194197. Thanks.