Because $node->title doesn't exist when the title is being automatically generated, an error occurs during token replacement.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | auto_nodetitle.module-397806-2_DRUPAL-6--1.patch | 691 bytes | darren oh |
| auto_nodetitle.module.patch | 654 bytes | darren oh |
Comments
Comment #1
JStarcher commentedThis patch doesn't solve anything does it? This is related to this issue: http://drupal.org/node/194197
Comment #2
darren ohIt fixes an error notice that you can only see if you use the development version of Drupal 6 to create a new node. I don't think the two issues are related. However, I have improved the patch so it can use the previous title of a saved node.
Comment #3
fagohm, I don't get the notice on my dev-site? The title form element is set to #value, so there is a title: 'ant'.
Comment #4
fagoComment #5
manish-31 commented