-
Notifications
You must be signed in to change notification settings - Fork 3k
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
$state.go fails to transition to the same state #1963
Comments
references #1933 |
Ok I got it the bug repro working. It seems to be related, specifically to I made an example with both
Try clicking the buttons one after the other in each example/ The breaking code is the behavior of something like this: $state.go('default.search', {param1: 'yo2', param2: null}) In the past, setting a $stateParam to Let me know if there's anything else I can do in this plunkr setup to help demonstrate the problem. Its somewhat hard to really show, because its hard to see the url itself in the plunkr. I seem to recall setting a $stateParam to null removing it entirely from the url. |
This is caused by the 'string' param Type .is() method changing from regexp test to |
@christopherthielen Thanks for looking into this! Let me know if there's anything else I can do to help out! |
If I am in a certain stay, such as
x.y
if I attempt to transition into the same state I am currently in, possibly with updated state params, the transition does not fire.This occurs if
reloadOnSearch
is true (it should be by default anyways) and also if you set{reload: true}
This occurs in
0.2.14
, but not0.2.13
The text was updated successfully, but these errors were encountered: