fix(router): Fix relative link generation from empty path components#37446
fix(router): Fix relative link generation from empty path components#37446atscott wants to merge 1 commit into
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
AndrewKushnir
left a comment
There was a problem hiding this comment.
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