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

ordermind’s picture

Project: Pathauto » Token
Version: 7.x-1.0 » 7.x-1.0-rc1

This 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.

ordermind’s picture

Priority: Critical » Major

Demoting this to major.

dave reid’s picture

Priority: Major » Critical
Status: Active » Fixed

Thanks 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.

dave reid’s picture

Priority: Critical » Major

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.