Skip to content

Conversation

@yoeunes
Copy link
Contributor

@yoeunes yoeunes commented Nov 21, 2025

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

When importing routes with a localized prefix, the original route is replaced by localized versions and removed. However, existing aliases pointing to that route remain unchanged, resulting in broken links to a non-existent target.

This PR ensures that when a route is localized via prefix, its aliases are also localized accordingly.

@yoeunes yoeunes force-pushed the routing-localized-prefix-aliases branch from 3597c3a to fb9dcc2 Compare November 21, 2025 07:24
@nicolas-grekas
Copy link
Member

Thank you @yoeunes.

@nicolas-grekas nicolas-grekas merged commit 982c383 into symfony:6.4 Nov 21, 2025
11 checks passed
This was referenced Nov 21, 2025
This was referenced Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants