Error on automatic title generation
Darren Oh - March 10, 2009 - 21:40
| Project: | Automatic Nodetitles |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Description
Because $node->title doesn't exist when the title is being automatically generated, an error occurs during token replacement.
| Attachment | Size |
|---|---|
| auto_nodetitle.module.patch | 654 bytes |

#1
This patch doesn't solve anything does it? This is related to this issue: http://drupal.org/node/194197
#2
It 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.
#3
hm, I don't get the notice on my dev-site? The title form element is set to #value, so there is a title: 'ant'.
#4