I am able to configure the url patterns for ECK bundles, but when I hit "Bulk Update" I am given the following message...
"No new URL aliases to generate." Pathauto aliases are also not generated for newly created entities. I am using the latest dev version of ECK.

Comments

maciej.zgadzaj’s picture

Status: Active » Closed (cannot reproduce)

This should work fine with ECK entities.

Just given it a quick test with most recent 7.x-2.x ECK 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.

herd45’s picture

I 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

herd45’s picture

This issue may explain why the property tokens are not working.
https://drupal.org/node/2271427

herd45’s picture

StatusFileSize
new20.36 KB

I 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

herd45’s picture

Status: Closed (cannot reproduce) » Active
maciej.zgadzaj’s picture

Status: Active » Closed (cannot reproduce)
StatusFileSize
new50.48 KB
new79.38 KB
new39.56 KB

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

mstef’s picture

maciej.zgadzaj, you're testing with a text field. The reporter is testing with a text property.

mstef’s picture

StatusFileSize
new13.55 KB
new36.72 KB

I'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".

maciej.zgadzaj’s picture

My screenshots were for field, but I've tested it with property too, and wasn't able to reproduce then either.

mstef’s picture

The reporter should have updated these ticket. It turns out he selected "created" for the behavior of the text field by accident.