-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
transitionTo returns promise when passed a url #12899
Comments
Thanks for the report @asakusuma, looks like @GavinJoyce is working on a fix in #12905. |
@GavinJoyce - Understood. I'm trying to find a good path forward. I realize this is a fairly bad regression, so I'll try to be quick about it... |
Mobile phone mishap |
Was just scrolling somehow registered as a tap on the close button |
rofl #theWeb |
@rwjblue & @GavinJoyce the skeleton PR looks good to me. I don't think it breaks exception handling. Did all the tests pass with the change? |
@minasmart - It breaks most of the tests I added in the original PR. |
aw 😢 |
I'll spend some time and see if I can maybe come up with some ideas? I feel a little responsible having wrote the code that caused the regression. |
@krisselden briefed me on the issue. I'm going to take a stab at a PR this afternoon and will give an update later today. |
@rwjblue @krisselden @minasmart any objection to making Edit: formatting |
In ember canary, route.transitionTo returns a promise when passed a url. According to the docs, it should return a transition object.
From what I can tell, the issue seems to have been introduced in this commit.
I reproduced the issue in this example app.
cc @minasmart @rwjblue
The text was updated successfully, but these errors were encountered: