-
Notifications
You must be signed in to change notification settings - Fork 26.5k
fix(router): Fix relative link generation from empty path components #37446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4809712
to
56c0023
Compare
efee7fd
to
d7708b8
Compare
There are two reproductions (https://stackblitz.com/edit/angular-lazy-route-relative-bug, https://stackblitz.com/edit/relative-link-eager-loading) in #35687 that aren't fixed by the change as it is now. However, both of those would work if the fix were changed to Adding cleanup, blocked, and presubmit label to indicate that I need to investigate if this fix can be extended to include #35687, adding a unit test to cover that situation, and running presubmits to ensure it doesn't break anything. Edit: test for this case would be:
|
global presubmit looks good |
e2c141c
to
21b4cd1
Compare
global presubmit with additional change ( Some things to note for review:
|
Partial resubmit of angular#26243 Fixes incorrect url tree generation for empty path components with children. Adds a test to demonstrate the failure of createUrlTree for those routes. Fixes angular#13011 Fixes angular#35687
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Thanks for the fix @atscott!
merge assistance: I'm the router owner so pullapprove won't be happy without global approval |
…ngular#37446) Partial resubmit of angular#26243 Fixes incorrect url tree generation for empty path components with children. Adds a test to demonstrate the failure of createUrlTree for those routes. Fixes angular#13011 Fixes angular#35687 PR Close angular#37446
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…ngular#37446) Partial resubmit of angular#26243 Fixes incorrect url tree generation for empty path components with children. Adds a test to demonstrate the failure of createUrlTree for those routes. Fixes angular#13011 Fixes angular#35687 PR Close angular#37446
Partial resubmit of #26243
Fixes incorrect url tree generation for empty path components with children.
Adds a test to demonstrate the failure of createUrlTree for those routes.
Fixes #13011
Fixes #35687