path_redirect form for creating/editing redirect has URL prefix for From field. When languages are used, it includes language tag, suggesting that language tag should not be written in From Drupal path. But it's not the case so language tag should be written. So either UI help text should be changed, or code should be fixed.

Comments

dave reid’s picture

Title: With activated language systems, From should include language tag » Remove language prefix from the from field prefix
Assigned: Unassigned » dave reid

Will get this fixed shortly.

dave reid’s picture

Category: bug » feature

Ugh, really the best way I can think of doing this is changing the From field prefix via AJAX when the user changes language, since the 'base url' could change domains or URL prefix due to language selection.

dave reid’s picture

Issue tags: +6.x-1.0 blocker

Adding release blocker tag.

dave reid’s picture

Status: Active » Closed (won't fix)
Issue tags: -6.x-1.0 blocker

On closer review, this is something that we'll need to address in core first probably. Path redirect uses the same standard set by core's path module with regards to the from field prefix URL and language selector. Nothing changes. Until it's changed in core, I don't have the motivation to fix it here. And since I haven't seen a core issue about this before, obviously people are not having major problems with the interface, so it works.

ogi’s picture

Project: Path redirect » Drupal core
Version: 6.x-1.x-dev » 6.x-dev
Component: User interface » path.module
Assigned: dave reid » Unassigned
Category: feature » bug
Status: Closed (won't fix) » Active

Anyway it's a bug so moving elsewhere. Path module looks like good estimation :-D

dave reid’s picture

Version: 6.x-dev » 7.x-dev

Would need to be fixed in D7 somehow. Not sure how since we don't do this same thing anywhere else as well. Tempted to mark won't fix.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.