Firstly, let me say this is a great module to have, well done emackn!
But onto the point of this post: it seems the aliases that get generated ignore the pathauto setting "Character case: Change to lower case". Looking over the code, the views_alias module rightly relies on the pathauto_cleanstring() to get the clean term value, but for some reason this function doesn't run any of the case conversion stuff (looks like it gets done in pathauto_create_alias() though).
So is this a pathauto or a views_alias bug? Whatever the case for now, I've written a little patch for views_alias (will attach in next post with correct issue number).
Comments
Comment #1
alexkb commentedComment #2
quicksketchThanks for the patch alexkb, I don't think this is a problem with Pathauto, since it actually does something very, very similar in pathauto_create_alias():
This brought to my attention that your patch uses the wrong default value, it should be 1 instead of 0. Here's a revised patch with that change.
Comment #3
emackn commentedI refactored the view_alias_pathauto_bulkupdate() function, so i'm not sure if the patch is still needed. Check out lastest beta or HEAD to see if you are still having trouble.
Comment #4
emackn commentedComment #5
quicksketchLet's consolidate this with #652780: Aliases not updated when terms are updated/deleted, which also fixes this problem by having Pathauto create the aliases for us.