Closed (fixed)
Project:
Pathauto
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2007 at 07:00 UTC
Updated:
16 Dec 2007 at 21:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
greggleswhich kinds of aliases?
what is your pattern setting?
Comment #2
storbaek commentedI had to give it some testing before coming back to you. It's really strange as it has worked before, but now I can only update using batch operation.
I'm using the newest version (5.x-2.x-dev) and token version 5.x-1.x-dev. I cannot get it to work with any titles when I add any type of content. I've done a lot of scenario testing, but I have no more ideas to test. I have also tried to remove pathauto, download a new version and install this. Same problem!!
Comment #3
gregglesClosing because there are no concrete steps to repeat the issue and nobody else has reported this
I suggest visiting update.php and also submitting the "admin/build/modules" page as that may clear a cache that is causing a problem.
Comment #4
blockedmind commentedhave the same problem here.
drupal 5.3 w/ pathauto-5.x-2.0
Comment #5
blockedmind commentedterm based tokens do not work, while creating a node. but it succesfully creates aliases via bulk generation on the pathauto page.
Comment #6
blockedmind commentedterm based tokens do not work, while creating a node. but it succesfully creates aliases via bulk generation on the pathauto page.
Comment #7
blockedmind commentedterm based tokens do not work, while creating a node. but it succesfully creates aliases via bulk generation on the pathauto page.
Comment #8
greggles@blockedmind - did you run the update.php?
Comment #9
blockedmind commented@greggles - yes, i've tried it many times. nothing changes. why only taxonomy based tokens broke up? why does it only happens only when creating a node?
Comment #10
gregglesblockedmind, I don't know why this happened. In general the taxonomy support got much better in the 2.x version.
What is your pattern for the content type(s) where this doesn't work?
Comment #11
blockedmind commented[term-raw]/[title], [term]/[title] or anthing has "term" in it do not work as I said before.
Comment #12
gregglesYou said term based, but that didn't make it clear which pattern. Since they come from different places I wanted to be sure.
Are you creating nodes via the node/add/etc interface or via an external tool and xmlrpc?
Another question, if you create a test site and install everything from scratch does it happen again?
Comment #13
blockedmind commentedi am creating nodes via the node/add/etc interface...
didn't try, not sure whether if gonna happen on a test site, it was working at first, i don't know what cause this occur, maybe a module installed later? is there any previously convicted module or setting for that?
Comment #14
greggles@blockedmind - this isn't familiar to me, that's why I'm suggesting the test site. Then you can start from scratch with only pathauto and token and taxonomy and see if it's happening. If not, you add more and more modules/settings copying the site where the problem exists until you find the one module that causes the problem.
Comment #15
storbaek commentedblockedmind, I have the exact same issue. It did work, but not anymore. Only with batch operation does it work. I've been testing with [title] and [title-raw], but I cannot even get that to work. It could be some other module interferring that stops it from working. I am running on a test site, but a rather complex site, which is why I haven't started from scratch again.
Comment #16
kecinzer commentedIt doesn't work, because, "Automatic alias" is not selected when I crating a new node.
Comment #17
kecinzer commentedAnd here is the problem:
Comment #18
gregglesI found that one some of my sites they weren't being created only for certain users.
Since you posted code I assume you have a solution - if so can you post it as a patch?
http://drupal.org/patch/create
Otherwise I'll look into this and find a solution.
Thanks.
Comment #19
Nueaf commentedI'm very new to Drupal, only second day of messing with it. So not sure if this is the "correct way" to fix it. But adding:
'#attributes' => array('checked' => 'checked')
To the checkbox after '#weight' => 0, does the trick for me. Hope that it's helpfull.
Comment #20
greggles@Nueaf - your fix ignores the functionality of "if an alias was created by hand then leave the checkbox unchecked on subsequent edits".
Here's a patch that I believe fixes this problem by checking to see whether the path exists before looking it up in the DB and also checks whether.
I believe that this is a slightly different problem from what storbaek and blockedmind were discussing so when we fix this we'll create a new issue for that...
Comment #21
gregglesThis was annoying enough that I've committed it perhaps a bit faster than anyone could be expected to test/review it. Post-commit reviews are, of course, always welcome.
@blockedmind and @storbaek - I know this wasn't the same as your problem so I created a new issue for the problem we were originally discussing - http://drupal.org/node/194996
Comment #22
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #23
blockedmind commentedComment #24
greggles@blockedmind - care to leave a comment why you re-opened this issue?
Comment #25
blockedmind commentedcan it be just because the issue is not "fixed" at all?
Comment #26
gregglesThe fix was committed to the 5.x-2.x-dev branch. While that has bugs, can you confirm whether using that on a *test* site removes the problem for you?
Comment #27
greggles@blockedmind - also, I created a separate issue for your problem - http://drupal.org/node/194996
Let's move discussion of your problem there since this issue got turned into a similar but different problem.