Recently I was experienced problems with "Auto node titles module" because I set title pattern generetion to [parent-title]. Nodes get an empty titles even if parent was set.
Digging into the code shown that auto_node_titles generates titles under 'validate' stage of nodeapi. I looked to the relativity 'validate' and saw that it's not filling $parent_nodes to the current node. So I added this and everything started to work just fine.
Also, I found that relativity isn't loading parent_nodes while 'load' operation. I've fixed this too.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | relativity.module2.patch | 1022 bytes | neochief |
Comments
Comment #1
vanvemdenAlmost same problem here. [parent-title] token will work when creating new node, but does not work on update; the child node title will be empty after update.
Neochief, I don't see a patch. Can you upload it? Thanks.
Comment #2
neochief commentedoops, here it is :)
(IMHO, the patch is little bit dirty, but as I see, a whole Relativity module isn't brilliant, so it's just not big deal)