Closed (duplicate)
Project:
Pathauto
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2006 at 11:52 UTC
Updated:
3 Oct 2006 at 23:45 UTC
In Pathauto, my URL aliases not being assigned properly according to the rules I've setup when a node is created...
I couldn't seem to find the problem...
But I've noticed that the Bulk Update fixes the URLs so they are the way they are supposed to be - but I can't always hit the bulk update button everytime I submit a node.
Any clues what the bug is? (I have a few sites that use drupal and this is the first time it happened)
Comments
Comment #1
Marco Palmero commentedBump
Comment #2
tjharman commentedIt might help if you describe your rules as you are defining them, and the paths that pathauto is giving you automatically, then showing us what paths you're getting once you do a bulk update.
Comment #3
Marco Palmero commentedThanks for your tip...
My usual setting is:
[catpath]/[title] for pathauto default under "Node path settings"
Also, Every now and then when I'm creating a new node I get the following error - but the funny thing is when I press back and look at the page - everything looks normal.
I don't know if this problem is related to these errors:
---
Finally, with the bulk update fixing up things...
When it isn't working properly it just assigns
baseURL.com/blah-title
After Bulk Update it then follows the rules set out in pathauto:
baseURL.com/main-category/subcategory/blah-title
The funny thing is - sometimes it works and sometimes it doesn't.
Sometimes I'm able to force it to work by simply deleting the pathauto line when i edit a node then submit it again - sometimes it doesn't.
It doesn't seem to follow a consistent pattern.
Comment #4
jamespvg commentedBump. I am also experiencing a similar problem with 4.7.
Story aliases are set to [catpath]/[title], but pathauto generates [title] instead. Removing the old entries and performing a bulk update corrects the problem, but is not very practical in the long term...
Comment #5
s0l3x commentedAlso experiencing this problem on 4.7. I'm thinking that it may have something to do with free-tagging.
Comment #6
Marco Palmero commentedYeah, I would guess that the free tagging could be an issue for pathauto.
When I chose too many taxonomy categories for the post, the pathauto module had to decide which URL to place a priority on...
The way I solved my problem above was to start from scratch and keep the URL system simple. Any URL's too complicated, long etc.. and this module collapses.
Comment #7
dr. gubó commentedI also experienced the problem with only [title] paths made by pathauto instead of the given syntax (which was [vocab]/[catpath]/[title] in my case). I found out that it was because I had a vocabulary with free-tagging (running 4.7) for the nodes I was posting. Turnin free-tagging off for the vocabulary solved it, now paths are generated as I wanted, using the above syntax. This means that I still have to create new categories manually at admin/taxonomy, and can't do this when adding the node (with just writing the new category in the form). I hope this incompatibility with free tagging in 4.7 will be solved, in every other aspect pathauto is a very well-working module for me.
Comment #8
gregglesChanging the title to be a little more descriptive.
@MarcoPolo - your original report was against pathauto 4.6. Were you using the freetagging module at the time or was that a mis-label?
Thanks for identifying the problem and letting me know about 4.6.
Comment #9
firstov commentedsame story goes for me: I'm using tagadelic module which requires a vocab with free tagging checked on.
When I've set pathauto to blog/[user]/[vocab]/[catpath]/[title][yyyy][mm][dd].html it ignores vocab and catpath altogether.
For other categories (no free tagging) it works fine.
Comment #10
ncameron commented*Bump* Experiencing the same problem with 4.7.3. Apart from disabling free tagging has anybody come across a patch/fix/solution?
Comment #11
gregglesHi,
*bumping* the issue doesn't help. If you want to help, but aren't a coder consider this advice:
http://drupal.org/node/73178
Look at the comment in #3: "It doesn't seem to follow a consistent pattern."
I don't experience this problem, so if you want me to look into fixing the problem, it would be helpful if someone can provide concrete steps for how to make the problem happen consistently. I need examples of every setting involved in creating the problem (freetagging or not) version numbers (pathauto revision numbers, drupal revision numbers). Until then, it's just another bug that I don't understand.
If someone who is affected by this issue wants to provide a patch, then that is the easiest way to see it fixed quickly.
Comment #12
gregglesAlso, this is a duplicate of http://drupal.org/node/60084
Comment #13
cre8d commentedHi -
Here's the details for my setup:
Drupal 4.7.3
pathauto.module,v 1.22.2.1 2006/08/30 20:29:16
pathauto settings:
Haven't touched anything under Geneder
Node path settings:
Default path pattern: [cat]/[title]
Pattern for blog entry paths: (empty)
Blog settings:
Free tagging vocabulary + list selection vocabulary
Create a blog entry free tagged "category" called "blog title" and it comes up with
/blog-title
Bulk updating paths it changes to:
/category/blog-title