-
Notifications
You must be signed in to change notification settings - Fork 3k
URL with type defined doesn't load any state #1394
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
Comments
I don't know where you think It works perfectly fine with the proper regex: |
I don't think you've followed release Type support was added in this release and it's demonstrated in my plunk. My issue isn't with |
I saw your plunker and reproduced your bug. But when I referred to the docs I found nothing on type support. |
http://angular-ui.github.io/ui-router/site/#/api/ui.router.util.type:Type I'm not sure how complete the docs are at the moment. I haven't even tried out the new type system yet. |
@christopherthielen I'm not sure why you guys even implemented it. I would think patterns are far more powerful. Seems like a step back and just another feature that requires maintenance (as illustrated by this issue). |
Fix should be coming soon. |
Plunk: http://plnkr.co/edit/nlhskp?p=preview
To reproduce, you'll need to download this plunk.
User detail url is defined as
/users/{id:int}/
. If I browse through links, everything works great. If I try to access link with{...:int}
(eg.:plunk/index.html#/users/3/
) straight away, no state loads.If I remove type from URL (
/users/{id}/
), everything works ok again.The text was updated successfully, but these errors were encountered: