Closed (fixed)
Project:
Pathauto
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2008 at 23:58 UTC
Updated:
26 Jul 2011 at 10:03 UTC
Jump to comment: Most recent file
This fixes a notice, but I also feel like this must be causing major bugs. Unfortunately I can't find what bug this could be causing because most taxonomy editing seems to be working the right way for me...
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | pathauto_taxonomy.inc_.patch | 454 bytes | smoothify |
| #1 | 278368_notice_and_taxonomy_bug.patch | 783 bytes | greggles |
| notice_and_taxonomy_bug.patch | 760 bytes | greggles |
Comments
Comment #1
greggleswithout the debug...
Comment #2
Freso commentedDid you run Pathauto plus this patch through the simpletests?
Comment #3
smoothify commentedI ran into a problem with this code in the Drupal 5 version and was about to post a similar patch but didn't know how to phrase it.
The issue was that using weblinks module would cause some broken taxonomy aliases.
weblinks uses hook_term_path() to set a custom path for the term - e.g weblinks/tid and attempts to override the term page.
However when using pathauto, the pathauto code covered in the patch should pass an object to the taxonomy_term_path function not the term id.
In my case it wouldn't find the vocabulary which meant that the hook didn't fire, and then it also returned a broken path - taxonomy/term/
The patch above should fix the issue for 6.x and i've attached one for 5.x
Comment #4
nicholasthompsonFix is confirmed as working for Drupal 5. Looks like the same fix applies to D6 too.
Comment #5
nicholasthompsonRenaming to a sensible title.
Comment #6
gregglesI ran the simpletests, they worked fine, so I committed this to
5.x-2 http://drupal.org/cvs?commit=136700
6.x-1 http://drupal.org/cvs?commit=136702
6.x-2 http://drupal.org/cvs?commit=136701
Thanks for the review, nicholasThompson.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
jbomb commentedany thoughts on the next stable release of pathauto which might include this fix?
Comment #9
gregglesI want to fix at least http://drupal.org/node/180440 first.
I will be doing a new release of token shortly as well.
Comment #10
mrkistic commentedThis can't be pushed out to a production release although it's been around for 11 months?? I've been cursing for a couple of hours now, trying to work out what in the hell was going on with my code. Turns out it wasn't mine after all and I finally traced it to this bug. Which was already fixed but just not made available :(
Comment #11
rootworkIs there an update on this? Item 180440 that you want to fix has its comments closed, and the ChipIn campaign has ended (so no one can contribute anything).
#180440 does seem like it would be a nice thing to have...but the present "stable" version of pathauto crashes and burns for anyone using taxonomy terms -- which is the great majority of people. This is your module, of course, but is waiting to fix one bug that doesn't seem to be getting worked on worth holding up a full release for a critical bug that renders the module unusable for many people? The decision is yours, of course, but a year does seem quite a bit of time to wait for a fixed critical bug to get rolled out.
Comment #12
dave reid#369840: If a user changes the automatic path, try to remember that in the future is the continuation of issue 180440. It has a patch ready for review but no one is actually testing and reviewing it.
Resetting issue status (to fixed) and priority.
Comment #14
sdrycroft commentedJust thought I'd chime in and agree with some of the previous posters. I've just spent far too long trying to debug an issue that could have been fixed by removing four characters from a file. Please release this ASAP for the benefit of everyone else using this module.
Comment #15
Tally commented@smoothify in #3, the patch identified in this thread, which was included in the 6.x-1.2 release, still has problems with WebLinks. See http://drupal.org/node/590554 to see how I worked around it.
Comment #16
heyyo commentedI still have this bug on 6.x-1.3, evrytime I change name of terms, i get taxonomy/term/id becomes aliased to taxonomy/term
In path auto settings I have:
Update action:
Do nothing. Leave the old alias intact.
Create a new alias. Leave the existing alias functioning.
Create a new alias. Delete the old alias.
X Create a new alias. Redirect from old alias.
Pattern for all language neutral Tags paths:
[i18n-vocab-raw]/[i18n-cat-raw]
I'm also using Path redirect 6.x-1.x-dev (2010-Mar-19) and Internationalization 6.x-1.4
Help is really welcome
Comment #17
heyyo commentedComment #18
gregglesheyyo, your issue is likely related to using i18n-vocab/i18n-cat. I suggest opening a new issue for the module that provides those tokens.
Comment #19
heyyo commentedI applyed this patch from this pathauto issue: #290421: pathauto patch to provide localized and entity translated taxonomy through i18n the comment 38 http://drupal.org/node/290421#comment-2703968
Comment #20
Gill Xu commented+1