Closed (fixed)
Project:
Automatic Nodetitles
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2008 at 14:16 UTC
Updated:
11 Nov 2008 at 14:45 UTC
Under D6.4, with auto_nodetitle dev for 6, I have got content_profile.module installed - a classic case for using auto node titles if ever there was one. The trouble is, I see no titles.
In the field for my content types auto generation, I have entered "Hello [some-token] [some-token]" but when I view the profile node, all I see is the "Hello ".
Any thoughts?
Comments
Comment #1
traviss359 commentedI see the same issue with the 5.x-1.x-dev version. The production version (5.x-1.1) works with tokens just fine. I'm guessing something got messed up with the development snapshots.
Comment #2
niklp commentedUpgrading priority, because this simply does not work under D6 to the best of my knowledge and experience with it.
Comment #3
Stol commentedIt works for node tokens but not for cck field tokens, I don't know for all cck fields but certainly not for node reference tokens.
Comment #4
niklp commentedSo is this a problem with CCK or with tokens in general...?
Comment #5
Stol commentedNot with tokens in general, imo. It's with cck but I 'm not sure if all cck fields got this issue. Will do some tests this evening.
Comment #6
thepanz commentedI'm using 6.x-1.0 version.
I have the same issue after updating CCK and other modules to latest 6.x versions (CCK, Views2, ImageField, FileField..)
I noticed that Token weight is set to 10 and AutoNodeTitle is set to 5. Is it correct?
Regards
Comment #7
Stol commentedDid some testing and more tests are needed. For CCK fields and date fields some tokens doesn't render like for example the token for the title field of node reference type doesn't render. Also the token for the formatted date view doesn't render. Other tokens of the node reference and date fields seems to render. Gonna make a list tonight with tokens that renders and the ones that don't (at least for the CCK fields I have installed).
Comment #8
thepanz commentedMy issue regards an Integer CCK Field. I'm using a pattern also with [term] token: this one is rendered correctly
Comment #9
Stol commentedTokens that are not rendered (by description) grouped by type:
date
The formatted date
node reference
Referenced node title
Formatted html link to the referenced node.
text
Formatted and filtered text
number
Formatted number value
It looks like all formatted values are not rendered, the raw format values does render!
Comment #10
fagoI suppose this is a token issue - have you checked the token issue queue?
Comment #11
niklp commentedI would actually guess that its more likely to be a token or CCK issue - in either case, it seems to have fixed itself for me for the moment.
Am monitoring as the dev updates progress on other modules (cck et al).
Comment #12
dagomar commentedI think this is a problem with auto_nodetitle. This module should process the tokens AFTER the node has been saved, only then all tokens will be available. So I have proposed in http://drupal.org/node/194197 to use nodeapi. The function I have written works for me, but it only processes NEW nodes. For nodes that need to be updated the whole function should be changed, because you can't use node_save for the $op 'update'; It would create an infinite loop. Best would be if the function would be rewritten to do this:
Comment #13
grobemo commentedThe same problem cropped up for me.
I upgraded CCK to 6.x-2.0-rc8, and it fixed the problem, as far as I can tell.
Comment #14
fagofine, so let's close this one.
Comment #15
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.