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.

Comments

Status: Needs review » Needs work

The last submitted patch, pathauto-redirect-language.patch, failed testing.

dave reid’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Needs work » Needs review

Seems reasonable.

dave reid’s picture

Assigned: Unassigned » dave reid
roderik’s picture

StatusFileSize
new1.08 KB

I 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.)

dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.