Closed (fixed)
Project:
Pathauto
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Sep 2010 at 23:07 UTC
Updated:
21 Jun 2011 at 23:21 UTC
Jump to comment: Most recent file
Pathauto supports creating new redirects through Path Redirect when changing the alias. However, the language was not passed along to path_redirect_save(). Fixed with this patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 921188-4.patch | 1.08 KB | roderik |
| pathauto-redirect-language.patch | 481 bytes | david lesieur |
Comments
Comment #2
dave reidSeems reasonable.
Comment #3
dave reidComment #4
roderikI guess we should take the language of the existing alias, not of the (new state of the) object/node being saved.
Patch applies to 6.x-1.x as well as 6.x-2.x (with offset). I don't see any problems.
(...except with the first call to _pathauto_set_alias() which is present in the 1.x series, but that one doesn't have to do with this patch per se. So I'm ignoring it.)
Comment #5
dave reidTested and confirmed this is a good change. Committed to Git:
http://drupalcode.org/project/pathauto.git/commit/87d98fe
http://drupalcode.org/project/pathauto.git/commit/875f2b1