Closed (cannot reproduce)
Project:
Pathauto Entity
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2014 at 15:56 UTC
Updated:
3 Jun 2014 at 15:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
maciej.zgadzaj commentedThis should work fine with ECK entities.
Just given it a quick test with most recent
7.x-2.xECK branch (cloned from git repo) and everything worked fine, all aliases for ECK entities created fine, both when creating new entities, as well as during bulk update.Please try to reproduce your issue in the clean environment (fresh Drupal install + ECK + Pathauto Entity only), and if you succeed do provide exact steps how can I reproduce the issue on my side.
Comment #2
herd45 commentedI upgraded to the latest dev versions of Pathauto and Entity API. Aliases are now being created, but tokens from properties do not work. Also, the new aliases are not listed on /admin/config/search/path
Comment #3
herd45 commentedThis issue may explain why the property tokens are not working.
https://drupal.org/node/2271427
Comment #4
herd45 commentedI setup a clean install. The only contrib modules enabled include....
Entity API
Token
ECK
Chaos Tools
Pathauto
Pathauto Entity
I then add a new ECK entity type called "Country" and a bundle with the same name. I attach two properties, "Test Integer" and "Test Text." I then go to configure the url pattern for this bundle. When I look at the available tokens, the Test Text property is being treated as a date. (Pic is attached)
When I use this URL pattern....
[country:test-text]/[country:test-integer]
This is an example of a url that is generated.....
...../sat-05242014-1347/0
Comment #5
herd45 commentedComment #6
maciej.zgadzaj commentedDrupal 7.28
Entity API 7.x-1.5
ECK 7.x-2.0-rc3
Pathauto 7.x-1.2
Pathauto Entity 7.x-1.x-dev
Fields:

Patterns:

Generated aliases:

Everything works as expected, somehow it must be your configuration issue.
Or perhaps you're using a different version of one of the other modules, but then it's an issue with one of them and what they provide. And as you already have another issue created for the same problem in the ECK issue queue, it's just another reason not to keep this one open.
Comment #7
mstef commentedmaciej.zgadzaj, you're testing with a text field. The reporter is testing with a text property.
Comment #8
mstef commentedI'm also unable to reproduce.
Chaos tools: 7.x-1.4
Entity Construction Kit (eck): 7.x-2.0-rc3
Entity API (entity): 7.x-1.5
Entity tokens (entity_token): 7.x-1.5
Pathauto (pathauto): 7.x-1.2
Pathauto Entity (pathauto_entity): 7.x-1.x-dev
Token (token): 7.x-1.5
See attached. Entity is "Thing" and the text property is "Label".
Comment #9
maciej.zgadzaj commentedMy screenshots were for field, but I've tested it with property too, and wasn't able to reproduce then either.
Comment #10
mstef commentedThe reporter should have updated these ticket. It turns out he selected "created" for the behavior of the text field by accident.