-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Talking specifically about the bug fix in the $urlRouter code in 0.2.16:
Sort URL rules by specificity. Potential minor BC if apps were relying on rule registration order.
One of my application expects the states to be in a certain order I think? - (because I have 2 states for one url - 1 for authenticated users and 1 for unauthenticated users).
This is what should happen - if user goes to url:
- If unauthenticated, taken to state 1.
- If authenticated, taken to state 2.
Order the states are registered in:
- State 1
- State 2
Now what happens is that it works perfectly fine on Chrome, but on Firefox it never goes to state 1 but keeps redirecting to state 2, which essentially redirects the user again to a login screen.
On moving state 2 above state 1 in the registration order: it works on Firefox as expected but doesn't on Chrome.
Reverting to 0.2.15 fixed it for me but I'd like to upgrade. Any help or pointers would be appreciated!