Active
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity tokens
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2012 at 23:40 UTC
Updated:
6 Oct 2014 at 18:03 UTC
Jump to comment: Most recent
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
Comment #1
back from 7 commentedI 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.
Comment #2
capellicThere 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
Comment #3
back from 7 commentedPOSSIBLE 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...
Comment #4
btown commentedI was having the same problem with Entity Tokens and Pathauto - Token Tweaks worked for me.
Comment #5
ProYoga.NL commentedGreat! Token Tweaks with tree limit set to 2 finally fixed the issue. Thanks.
Comment #6
Håvard commentedToken Tweaks with tree limit set to 2 finally fixed the issue for me too :)