I use Entity API and Pathauto to make my node links looke like:
[node:nid]/[node:field-category:0]/[node:title]

I've got Drupal 7 and dev version of Entity Api (same problem with 1.0-rc3)

After enabling and configuring path generating works properly. Problem happens after several minutes. Token [node:field-kategoria:0] stops working, pathauto is making new links (wants to change also already made node urls when cheked "Generate automatic URL alias" on editing node) so they look like [node:nid]/[node:title]

Everything backs to normal when I enable or disable ANY module on my site.

Comments

Back From 7’s picture

I have the same problem. Pathauto module does not work with Entity Tokens module. When turning off Entity Tokens, pathauto works correctly...

What is the consensus on this? This is all over the pathauto issue queue.

capellic’s picture

There is a lot of voodoo surrounding Entity API/Entity Token. Check out this case #1267966: Pathauto patterns are not showing up and specifically this comment:

http://drupal.org/node/1267966#comment-6850104

Back From 7’s picture

POSSIBLE FIX:

http://drupal.org/project/token_tweaks

This thread http://drupal.org/node/1058912 #46 discusses lowering the token tree limit.

I installed the module and lowered the tree limit to 2 and now can enable Entity Tokens with Pathauto and the patterns tab is showing up...

btown’s picture

Issue summary: View changes

I was having the same problem with Entity Tokens and Pathauto - Token Tweaks worked for me.

ProYoga.NL’s picture

Great! Token Tweaks with tree limit set to 2 finally fixed the issue. Thanks.

Håvard’s picture

Token Tweaks with tree limit set to 2 finally fixed the issue for me too :)