I see the following messages after I update/edit existing blog entries on my 4.6.0 site. The URLs also work, but the "good" aliases still work as well, pointing to the same node/content. Note that my pathauto pattern is "[user]/[yyyy]-[mm]-[dd]/[title]" and works just fine in other scenarios, ie, it seems to generate the proper URLs in all other scenarios that I have experienced thus far.

See also: http://drupal.org/node/247

    * pathauto: Alias mattengland/1969-12-31/2nd_test_blog_en_try created for path node/6
    * pathauto: Alias mattengland/1969-12-31/2nd_test_blog_en_try/delete created for path node/6/delete
    * pathauto: Alias mattengland/1969-12-31/2nd_test_blog_en_try/feed created for path node/6/feed
    * The personal blog entry was updated.

-Matt

Comments

venkat-rk’s picture

I read elsewhere today about a user whose blog entries had a similar problem- dated year 2032 or something. Turned out the user time settings was messed up. May be a good idea to check yours too.

mikeryan’s picture

Project: Drupal core » Pathauto
Version: 4.6.0 » 4.6.x-1.x-dev
Component: other » Miscellaneous
Assigned: Unassigned » mikeryan

What version of pathauto are you using - the CVS version I committed April 30? I think that's the only version that automatically created a new alias in addition to the old one (the latest one lets you choose the behavior).

I can't reproduce this in my environment with the latest pathauto.

mattengland’s picture

I believe I'm using pathauto flavor 4.6.0 (with Drupal flavor 4.6.0, of course).

I can possibly test this with updated code later; as of now, it does not appear to present a significant problem.

-Matt

mikeryan’s picture

Closing this - I never reproduced it, and there have been no further reports. If it happens again, please reopen this issue.

mattengland’s picture

Component: Miscellaneous » Code

I just duplicated it and thus I have re-opened the bug.

I edited an existing blog entry on my drupal-4.6.1/pathauto-4.6.0 system, and it changed the alias from what it should be to:

"mattngland/dlog/1969/dec/31/dailylog-test-entry"

My pathauto node setting:

[user]/[cat]/[yyyy]/[mon]/[dd]/[title]

If I can't find a way around this I may bump this up to a higher priority.

-Matt

mikeryan’s picture

Sorry, still can't reproduce it, there must be some other factor involved. What's your setting for pathauto's Update action? What exactly are you changing when you edit the node? What other contrib modules are you using?

The date components of the alias are generated from $node->created, what you're seeing would happen if that evaluated to 0, but I don't see how it ends up that way... Blog entries aren't treated specially by pathauto, they're just nodes - do you see this happen with any other node types?

Thanks.

mikeryan’s picture

Matt, I've tried again with the latest (cvs) pathauto and still can't reproduce it, or see a reason this would happen. Could you try this version and see if it's still a problem?

Thanks.

laura s’s picture

As an aside, I wonder if this could be related to something else, for I got the same date when I reinstalled the event module (on a new site) -- I've not been able to edit the date on any pre-existing nodes, and it's stuck on that specific dates.

scriptnews’s picture

We had the same problem probably related with the event module.
Had no time til now to look for a fix.

mikeryan’s picture

Status: Active » Closed (fixed)

I'm going to close this out, I never was able to reproduce it. If someone can show a smoking gun here, please reopen this issue...