-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
After navigating to incorrect route, should be able to navigate using the sidenav menu to a valid route
What is the current behavior?
After navigating to incorrect route, cannot navigate to any other route using the sidenav. Effectively stuck in a redirect.
What are the steps to reproduce?
- Navigate to material.angular.io
- Click on components
- Navigate to a component using the sidenav
- Edit the URL to change the name of a component to a clearly invalid component name
- Try to navigate to any other part of the page using the sidenav or top navigation (the GitHub link still works, probably bc it's an absolute
href
)
What is the use-case or motivation for changing an existing behavior?
If someone lands on the docs page from an invalid URL, or tries to manually navigate themselves, the whole site breaks.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 2.0.0-beta.7
Stack trace
ERROR TypeError: Cannot read property 'name' of undefined
ERROR Error: Uncaught (in promise): Error: Cannot activate an already activated outlet
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround