You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*I'm submitting a ... *
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When trying to use regex route matching, the child routes for the route are not configured.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
I expect to provide the regex/serializer and configure child routes under the parent route.
What is the motivation / use case for changing the behavior?
I should be able to define a parent route with regex/serializer and add use that route to group child routes under it.
Please tell us about your environment:
Angular version: 2.0.0-beta.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Angular 2.0.0-beta.9
Browser: all
Language: TypeScript
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Open up the console after running the plunker to see the error. Sample stack trace
I agree this should be supported, but I think we need to extend the API to explicitly show how the regex capturing interacts with children. I see it as a missing feature rather than a bug.
I think the generated URL from the serializer would still contain the ellipsis to indicate that the route was not terminal and the ellipsis would be stripped when the URL is generated. Explicitly marking a regex route with a terminal conifg property would be another option, although a lot less dynamic.
Note: for support questions, please use one of these channels: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.
Bug
When trying to use regex route matching, the child routes for the route are not configured.
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
http://plnkr.co/edit/FmmaTD?p=preview
I expect to provide the regex/serializer and configure child routes under the parent route.
I should be able to define a parent route with regex/serializer and add use that route to group child routes under it.
Angular 2.0.0-beta.9
Browser: all
Language: TypeScript
Open up the console after running the plunker to see the error. Sample stack trace
The text was updated successfully, but these errors were encountered: