Closed (fixed)
Project:
Computed Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2011 at 22:16 UTC
Updated:
22 Mar 2012 at 16:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
choosedrupal commentedSame here.
Comment #2
blasthaus commentedsame for me
Comment #3
spineless commentedI am having issues with tokens. I see the following error when I run a status report.
Warning
Tokens Problems detected
The following tokens or token types are missing required name and description information:
$info['tokens']['comment']['url']
The following token types are not defined but have tokens:
$info['types']['comment']
I am many modules including:
Chaos Tools 7.X-1.0-rc1
Entity API 7.x-1.0-beta10
Panels 7.x-3.0-alpha3
rules 7.x-2.0-rc2
Token 7.x-1.0-beta5 (of course)
Everything was working fine until I installed the token module. The only indication I have a problem is through the status report. When I turn off token the error goes away.
Any idea why this error is happening? What other modules could possibly be interfering with Token?
Spineless
Thanks,
Comment #4
klonos@spineless: this issue here is about the exact error message as in the issue's description (
$info['tokens']['computed']). What you are looking for is #1265848: tokens or token types are missing required name and description information. This is now fixed, so you need to either use the latest dev version of token or wait for 7.x-1.0-beta6 (or another stable) to get released.Comment #5
Azol commentedToken 7.x-1.0-beta6, same error
Comment #6
mike27 commentedToken 7.x-1.0-beta6, same error for me too
Comment #7
rajatgusain commentedI am submitting a patch for this solution. Please find and append to the computed field's module file.
There was a problem in creating the computed token type that type was created at the time of enabling the module and that time there was no field associated to that module so it was giving the message :-
" The following token types do not have any tokens defined: $info['tokens']['computed'] "
Now I changed the way of registering the token type : it will register only when there is any field associated to the computed field module.
I hope it will work for everyone : If still there is any problem please let me know.
Regards
Rajat Gusain
Comment #8
klonos...it gives me a WSOD.
Comment #9
rajatgusain commented@ klonos
This works for me ! please share your applied patch code.
Comment #10
FreeFox commented#7 works fine. Please commit.
@rajatgusain ... Thanks very much.
Comment #11
Azol commentedComment #12
videographics commentedPatch in #7 is working for me as well.
At least it made the system message disappear. ;-)
Comment #13
badrun commentedToken 7.x-1.0-beta7 same error
Comment #14
drewish commentedI cleaned up rajatgusain's patch to remove the new variable—since we can just check if existing values have anything in them—and follow the coding standards.
Comment #15
jlea9378 commentedPatch in #14 worked for me.
Comment #16
klonos#14 works for me too. Thanx.
Comment #17
rajatgusain commented#14 patch will work.
Comment #18
colanComment #19
colanCommitted in efa8a5a.
Comment #21
felixvang commentedhow do you apply patch? I'm new and need help. I have Ubuntu 10.04.. thank you