Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Url is not set back after $routeChangeError #3199

Closed
nikitiuk0 opened this issue Jul 11, 2013 · 1 comment
Closed

Url is not set back after $routeChangeError #3199

nikitiuk0 opened this issue Jul 11, 2013 · 1 comment

Comments

@nikitiuk0
Copy link

Requirements:

  1. Add a route to $routeProvider
  2. Set one of the "resolve" properties to a function that returns promise
  3. Fail the promise

Steps in browser:

  1. Open some working route
  2. Navigation to the route with promise
  3. You should see that template is left as is (from the working route) but url points to a new route which is called url desynchronization.

What's more, you cannot retry this route because it is already set in url and there will be no $locationChange event.

@pkozlowski-opensource
Copy link
Member

Duplicate of #2100

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants