Closed (fixed)
Project:
NodeSymlinks
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Nov 2010 at 15:27 UTC
Updated:
21 Jan 2011 at 16:50 UTC
I was using the latest dev over the weekend and noticed you added support for multiple path aliases. Thank you very much. Hopefully the code that scottrigby provided helped out. After updating to the latest recommended version I'm now seeing this message in my status report.
"Duplicate tokens: The following tokens are defined by multiple modules and may cause problems when performing token replacement."
The list of tokens is pretty long. It seems like its listing all the node and cck tokens.
| Comment | File | Size | Author |
|---|---|---|---|
| tokens.png | 42.82 KB | gooddesignusa |
Comments
Comment #1
wojtha commentedHmm I see. I'm loading node token values to nodesymlinks to be available at pathauto configuration.
I think we could change it to "minor bug" as it is conflict with some token validation check.
Comment #2
ccoppen commentedJust to note that I'm having the same issue. I think it's also causing a date field to fail, but I have yet to confirm this. Still troubleshooting that issue. The date problem didn't happen until this started happening.
Comment #3
gooddesignusa commentedI dont understand how this exactly works but I'm curious why the nodesymlink needs an area in pathauto and why it can't just use what is already set in pathauto for that node type. I'm using the date field on the site that has this issue and I haven't noticed any issues. But than again i'm not using tokens for anything other than pathauto.
Comment #4
amilne commentedSame issue after upgrading this morning. Will update with more details if I can find any "broken" areas of the site.
Comment #5
KHofmeyer commentedSame issue here with tokens, subscribing.
Comment #6
dave reidProblem is the following which just seems unnecessary since they aren't replaced in hook_token_values() anyway.
Comment #7
wojtha commented@Dave Reid: you are wrong, node tokens are replaced ... but it isn't handled by nodesymlinks module but in the tokens module hook_token_values() implementation. I'm using it in nodesymlinks_pathauto_create_alias() - see below. I know it is dirty way, but I didn't find better way how to use other entities tokens inside the nodesymlinks pattern...
However from 6.x-1.0-beta4 release is now this feature optional so you can enable/disable Node tokens support for Nodesymlinks pattern definition in the module's settings if you don't need it.
I'm leaving this issue active as the current 'fix' is not real fix - it is only workaround - and I'm interested also in a way how to use tokens defined by other entities (Node, CCK) in the nodesymlinks pattern properly.
Comment #8
wojtha commentedI think I have it... I removed nodesymlinks node tokens from 'all' namespace...
It will be included in 6.x-1.0-beta5 release.
Comment #9
wojtha commentedFixed in 6.x-1.0-beta5.