Closed (fixed)
Project:
Token
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Sep 2010 at 19:05 UTC
Updated:
9 Oct 2010 at 14:50 UTC
Jump to comment: Most recent file
To allow #881270: [bookpath], [menupath], [*path] tokens not cleaned: aliases without punctuation removed, lower casing, etc. to proceed, we need to roll back #587148: Handle tokens correctly when more than one module defines a given token because token.module should *not* alter the token values itself. Rather we should add token_requirements and check for duplicate token definitions using hook_token_list(). That way, we can actually show which modules are the ones that conflict, rather than showing a watchdog message every time tokens are used.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 921988-token-dupe-requirements.patch | 4.84 KB | dave reid |
Comments
Comment #1
dave reidComment #2
gregglesI did not test, but this works for me in theory.
Comment #3
dave reidCommitted to 6.x and 5.x:
http://drupal.org/cvs?commit=427016
http://drupal.org/cvs?commit=427018
Needs to be ported to D7.
Comment #4
dave reidCommitted to D7: http://drupal.org/cvs?commit=427314