Closed (duplicate)
Project:
Pathauto
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2008 at 02:48 UTC
Updated:
11 May 2008 at 10:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesThanks very mucn.
For my own testing purposes, here's a slightly modified version (using the more standard cvs diff -up method to create the file). Also, you changed
Was that on purposes or just a find and replace for != that was a little too aggressive?
Comment #2
gregglesThanks again, steamedpenguin - applied to both 5.x and 6.x branches of code.
If there was a reason for changing the != to <> on that $term_path let me know and I can see about fixing it as well.
Comment #3
samirnassar commentedSorry about that extra <> it was a mistake. I replaced a != too many.
http://drupal.org/patch/create said that diff -urp was acceptable, but I'll be happy to use something else. Does that node need to be amended?
Comment #4
gregglesFor some reason I had to manually enter in the path to the files I was using. I'm not sure why that happened though.
Again, thanks for your help with this.
Comment #5
samirnassar commentedOdd. Perhaps the problem is that I diff -urp stock/module modified/module > module.patch ?
Comment #6
gregglesI had forgotten to change one of the db_query's to db_query_range - also, the from/range arguments to db_query_range come at the end of the argument list...
Attached patch fixes these errors.
Comment #7
gregglesAlso, my thanks to kvaderw in http://groups.drupal.org/node/10485#comment-33910 who found this.
Comment #8
gregglesSo, the problem identified in #6 above caused termalias to be blank which is in #243538: Empty 'termalias' placeholder
Comment #9
gregglesWill the real ANSI standard please stand up?
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/pathauto/pa...
vs.
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/pathauto/pa...
Freso seems to think that it's the opposite of this patch. I don't really care which one, but I'd prefer consistency and agreement.
Comment #10
Freso commented:)
Comment #11
gregglesAh, you both did the same thing...I got confused because I knew that I had "fixed" this recently, but the performance improvement patch re-introduced the old notation.