-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
[BUG] v1.6.x broke redirect in child router config #605
Comments
I can confirm this behavior in our app as well |
The new implementation of handling child route config "redirect" triggered a timing bug on router baseUrl. Lines 28 to 41 in 0a66d74
The new implementation use The issue is when router/src/navigation-instruction.js Line 201 in 0a66d74
I am not clear about the whole picture of how router works, not sure how to make a fix. |
@davismj Can you look into this. Appears to be a rather serious couple of issues in the latest router release. |
👍 Got this problem as well on main router after updating from 1.5.0 to 1.6.x |
On it. |
I was about to submit the very same issue |
Any progress on this? |
Guys, this issue is very serious. Its completely broken my sub-routers + defaults strategy. As a long-time Aurelia user / supporter I am very concerned about the recent router problems. |
@stefan505 for temporary fix, I use this in my package.json
The regression is from #515, which can be reverted. |
@EisenbergEffect @davismj can we have a hot-fix reverting #515 before further investigation? It seems many users are waiting for the fix urgently for production apps. |
Both @davismj and I are on vacation right now. When Matt gets back, this is on the top of his list to address. In the mean time, I recommend rolling back via package.json as described above. We apologize for this. We will get it fixed soon. |
Closed via #610 |
I'm submitting a bug report
Library Version:
1.6.1
Please tell us about your environment:
OSX 10.13
Node Version:
8.11.2
NPM Version:
6.1.0
JSPM OR Webpack AND Version
NA
Browser:
all
Language:
ESNext
Current behavior:
With latest v1.6.1, when a route page
/child
has additional child router config, the redirect in config doesn't work properly.Expected/desired behavior:
rjs-bundle is not up to date to router 1.6.x, so I built a demo app for the bug https://github.com/huochunpeng/router-bug
What is the expected behavior?
Keep the old behaviour, redirect to the same level of route.
What is the motivation / use case for changing the behavior?
:-( It broke my production app, I need to pin aurelia-router to 1.5.0 to bypass this regression.
The text was updated successfully, but these errors were encountered: