Closed (fixed)
Project:
Token
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2012 at 14:00 UTC
Updated:
17 Feb 2012 at 16:10 UTC
Hi, I just tried out Pathauto for Drupal 7 for the first time and discovered that there's no submit button on the "Patterns" page. I've just installed it so I guess what you need to do in order to replicate this problem is do install these modules:
Pathauto 7.x-1.0
Token 7.x-1.0-rc1
Transliteration 7.x-3.0
Global Redirect 7.x-1.3
Pathologic 7.x-1.4
Comments
Comment #1
ordermind commentedThis issue is related to Token so I'm moving the issue there. The issue appears when you have a field whose name is interpreted as a html tag, for example I'm using a field called <title> for setting the title tag.
I'm going to try my hand at creating a proper patch but here's the fix until then:
In the function _token_token_tree_format_row in token.pages.inc, exchange this row: (135)
$row['data']['name'] = $token_info['name'];for this row:
$row['data']['name'] = check_plain($token_info['name']);Then clear the cache and it'll work.
Comment #2
ordermind commentedDemoting this to major.
Comment #3
dave reidThanks I was able to confirm this as well. Committed http://drupalcode.org/project/token.git/commit/29c9d56 which fixes this issue and requires you to clear your cache (by running update.php) as well.
Comment #4
dave reid