Hi,

I have this Pathauto pattern for my Press Releases content type:

Press_Room/Press_Releases/[field_date-yyyy]-[field_date-mm]-[field_date-dd]/[title-raw]

I have a CCK date field "field_date" for this content type.

When I generate aliases in bulk, the date values are grabbed from the node creation date, instead of "field_date" field's values.

Am I using the wrong pattern, or there's something wrong in here?

Thanks,

Drupal 6.5
Pathauto 6.x-1.1
Token 6.x-1.11
Content Construction Kit (CCK) 6.x-2.0-rc10
Date 6.x-2.0-rc4

Comments

osman’s picture

p.s. Updating Pathauto to 6.x-2.x-dev (2008-Sep-13) didn't make any difference.

It still generates aliases using node creation date not the field_date field's value.

techninja’s picture

Yep, I'm having the same problem here. Kinda sucks.

I've moved on to change my format so I don't need it, but if I had the time I'd track down the bug myself..

Here's hoping someone does!

greggles’s picture

Title: pathauto uses node creation date instead of and cck date field » token for date field uses node creation date instead of and cck date field
Project: Pathauto » Date
Version: 6.x-1.1 » 6.x-2.x-dev
Status: Active » Closed (duplicate)

This is more of a token/cck/date problem than a pathauto problem. It maybe a duplicate of an existing date module bug like #313704: Date tokens returning earlier date. Please help test and review that patch.