X Tutup
Skip to content

fix(router): set correct redirect/default URL from hashchange#5683

Closed
btford wants to merge 1 commit intoangular:masterfrom
btford:fix-router-default-route-url
Closed

fix(router): set correct redirect/default URL from hashchange#5683
btford wants to merge 1 commit intoangular:masterfrom
btford:fix-router-default-route-url

Conversation

@btford
Copy link
Copy Markdown
Contributor

@btford btford commented Dec 8, 2015

Currently, hashchange events outside of Angular that cause navigation do not take into account cases where the initial route URL changes due to a redirect or a default route.

Tracks internal bug b/26013076

Closes #5590

@btford btford added hotlist: GT action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 8, 2015
@btford btford added this to the beta.0 milestone Dec 8, 2015
@btford btford force-pushed the fix-router-default-route-url branch 2 times, most recently from 5d4fc67 to 6fbf95e Compare December 8, 2015 18:12
@matsko
Copy link
Copy Markdown
Contributor

matsko commented Dec 8, 2015

LGTM. Please double check that the E2E errors are flaky and not code-related.

@btford btford force-pushed the fix-router-default-route-url branch from 6fbf95e to c1eaf86 Compare December 8, 2015 20:35
@btford
Copy link
Copy Markdown
Contributor Author

btford commented Dec 8, 2015

@vsavkin can you pls review? 🍰

@btford btford assigned vsavkin and unassigned matsko Dec 8, 2015
@btford
Copy link
Copy Markdown
Contributor Author

btford commented Dec 8, 2015

oh, wait, nvm, matias got it.

@btford btford assigned jelbourn and unassigned vsavkin Dec 8, 2015
@btford btford added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 8, 2015
@btford
Copy link
Copy Markdown
Contributor Author

btford commented Dec 8, 2015

Assuming this passes CI now, this should be good to go.

@btford btford force-pushed the fix-router-default-route-url branch 2 times, most recently from 51460aa to 0a50d49 Compare December 8, 2015 20:57
Currently, hashchange events outside of Angular that cause navigation
do not take into account cases where the initial route URL changes
due to a redirect or a default route.

Closes angular#5590
@btford btford force-pushed the fix-router-default-route-url branch from 0a50d49 to 170bed1 Compare December 8, 2015 21:06
@btford
Copy link
Copy Markdown
Contributor Author

btford commented Dec 8, 2015

@jelbourn tests passing, please merge when you can!

@mary-poppins
Copy link
Copy Markdown

Merging PR #5683 on behalf of @jelbourn to branch presubmit-jelbourn-pr-5683.

@mary-poppins
Copy link
Copy Markdown

Merging PR #5683 on behalf of @jelbourn to branch presubmit-jelbourn-pr-5683.

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Route.useAsDefault does not change the URL

6 participants

X Tutup