René's URL Explorer Experiment


Title: bug(router) aux-routes not working with empty-path top-level routes · Issue #10726 · angular/angular · GitHub

Open Graph Title: bug(router) aux-routes not working with empty-path top-level routes · Issue #10726 · angular/angular

X Title: bug(router) aux-routes not working with empty-path top-level routes · Issue #10726 · angular/angular

Description: I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question Current be...

Open Graph Description: I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/ma...

X Description: I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angula...

Opengraph URL: https://github.com/angular/angular/issues/10726

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug(router) aux-routes not working with empty-path top-level routes","articleBody":"**I'm submitting a ...**  (check one with \"x\")\n\n```\n[x] bug report\n[ ] feature request\n[ ] support request =\u003e Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\n\nAux-Routes are not found when using two levels of \"default routes\" (with `path:''`).\nThis config works:\n\n``` ts\n RouterModule.forRoot([\n      {\n        path: 'tasks', component: TasksComponent, //container-component has two outlets! \n        children: [\n          { path: '', component:TaskListComponent },\n          { path: 'overview/:id', component: TasksComponent, outlet: 'right' },\n        ]\n      }\n  ],\n```\n\nI can open the Tasks-overview by doing:\n\n`http://localhost:4200/tasks/(right:overview/3)`\n\nSee this plnkr and click \"to list\", \"open aux\"\n\nAs I want to extract the whole Tasks-Functionality into a `TasksModule` I need to be able to do something like this:\n\n``` ts\n RouterModule.forRoot([\n      {\n        path: 'tasks', : children: [ // this one would be in main module\n          //this is defined in the TasksModule:\n          { path: '', component: TasksComponent, //container-component has two outlets! \n            children: [\n              { path: '', component:TaskListComponent },\n              { path: 'overview/:id', component: TasksComponent, outlet: 'right' },\n          ]\n      }\n  ],\n```\n\nI would assume both configs are equivalent, and all of the \"normal\" routing works perfectly fine. But now the link above `http://localhost:4200/tasks/(right:overview/3)` leads to:\n\n`Uncaught (in promise): Error: Cannot match any routes: 'tasks'`\n\nSee this plnkr: http://plnkr.co/edit/xd77Mkpqfq6U9tKM4USU?p=preview\n\n**Expected/desired behavior**\n\nAux-Routes should also work with empty-path parents\n\n**Reproduction of the problem**\n\nWorking version: http://plnkr.co/edit/Twx4hXQ0TLfHfrYSe4MO?p=preview\nNon-working version:  http://plnkr.co/edit/xd77Mkpqfq6U9tKM4USU?p=preview\n\n**What is the expected behavior?**\n\nBoth versions of route definition should lead to the same behavior\n\n**What is the motivation / use case for changing the behavior?**\n\nWith the current implementation it is impossible to create an encapsulated Config / Module for the tasks behaviour and include it under a certain path into the main config e.g. \"myTasks\". \n\n/cc @vsavkin \n\n**Please tell us about your environment:**\n- **Angular version:** 2.0.0-rc.5\n- **Browser:** [all ] \n- **Language:** [TS ]","author":{"url":"https://github.com/choeller","@type":"Person","name":"choeller"},"datePublished":"2016-08-12T09:07:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":46},"url":"https://github.com/10726/angular/issues/10726"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:97ef19d9-f8d7-47df-9873-1a47d47ea900
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id95E0:21D0B9:5BA270:77356C:6A5FF92A
html-safe-noncec85b20537f4ec3bc7db2d895a9ed65a434452f8de39140ec5fead15f2b6edfa7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUUwOjIxRDBCOTo1QkEyNzA6NzczNTZDOjZBNUZGOTJBIiwidmlzaXRvcl9pZCI6IjI3NjIxOTc3NDMwNTgyODY4OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac015353248be35e5eda04150297f7ec945a43d030fed107a80849431cb233b9d4
hovercard-subject-tagissue:170828994
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/10726/issue_layout
twitter:imagehttps://opengraph.githubassets.com/beeaae5d3123351965466202183cf8e295712a866c935a1ba1719d181c35c58d/angular/angular/issues/10726
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/beeaae5d3123351965466202183cf8e295712a866c935a1ba1719d181c35c58d/angular/angular/issues/10726
og:image:altI'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/ma...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechoeller
hostnamegithub.com
expected-hostnamegithub.com
None79522f2cee5c5409f33a714312a1a68d41ad77a807626020d980fb1eb81def07
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3df4fbea9b6b5ead5c6724a99dc5f5b62caa864b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/issues/10726#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F10726
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F10726
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/10726
Reloadhttps://github.com/angular/angular/issues/10726
Reloadhttps://github.com/angular/angular/issues/10726
Please reload this pagehttps://github.com/angular/angular/issues/10726
angular https://github.com/angular
angularhttps://github.com/angular/angular
Notifications https://github.com/login?return_to=%2Fangular%2Fangular
Fork 27.5k https://github.com/login?return_to=%2Fangular%2Fangular
Star 101k https://github.com/login?return_to=%2Fangular%2Fangular
Code https://github.com/angular/angular
Issues 977 https://github.com/angular/angular/issues
Pull requests 161 https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security and quality 24 https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
Code https://github.com/angular/angular
Issues https://github.com/angular/angular/issues
Pull requests https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security and quality https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
bug(router) aux-routes not working with empty-path top-level routeshttps://github.com/angular/angular/issues/10726#top
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
freq4: criticalhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq4%3A%20critical%22
router: aux routeshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22router%3A%20aux%20routes%22
router: config matching/activation/validationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22router%3A%20config%20matching%2Factivation%2Fvalidation%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/choeller
choellerhttps://github.com/choeller
on Aug 12, 2016https://github.com/angular/angular/issues/10726#issue-170828994
http://plnkr.co/edit/xd77Mkpqfq6U9tKM4USU?p=previewhttp://plnkr.co/edit/xd77Mkpqfq6U9tKM4USU?p=preview
http://plnkr.co/edit/Twx4hXQ0TLfHfrYSe4MO?p=previewhttp://plnkr.co/edit/Twx4hXQ0TLfHfrYSe4MO?p=preview
http://plnkr.co/edit/xd77Mkpqfq6U9tKM4USU?p=previewhttp://plnkr.co/edit/xd77Mkpqfq6U9tKM4USU?p=preview
@vsavkinhttps://github.com/vsavkin
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
freq4: criticalhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq4%3A%20critical%22
router: aux routeshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22router%3A%20aux%20routes%22
router: config matching/activation/validationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22router%3A%20config%20matching%2Factivation%2Fvalidation%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.