Title: Pathless route consumes next path · Issue #26224 · angular/angular · GitHub
Open Graph Title: Pathless route consumes next path · Issue #26224 · angular/angular
X Title: Pathless route consumes next path · Issue #26224 · angular/angular
Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Performance issue [ ] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submi...
Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Performance issue [ ] Feature request [ ] Documentation issue or request [ ...
X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Performance issue [ ] Feature request [ ] Documentation issue or reques...
Opengraph URL: https://github.com/angular/angular/issues/26224
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pathless route consumes next path","articleBody":"\u003c!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n--\u003e\r\n\r\n## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" --\u003e\r\n\u003cpre\u003e\u003ccode\u003e\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[X] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting --\u003e\r\n[ ] Performance issue\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request =\u003e Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n[ ] Other... Please describe:\r\n\u003c/code\u003e\u003c/pre\u003e\r\n\r\n## Current behavior\r\n\u003c!-- Describe how the issue manifests. --\u003e\r\nWhen we create a url using a relativeTo pathless ActivatedRoute, it does consider the next non empty path of this ActivatedRoute as a part of the url.\r\n\r\n## Expected behavior\r\n\u003c!-- Describe what the desired behavior would be. --\u003e\r\nRelativeTo is understood as a base for the relative url so its expected to not add its children as parent of the current commands.\r\n\r\n## Minimal reproduction of the problem with instructions\r\n\u003c!--\r\nFor bug reports please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://stackblitz.com or similar (you can use this template as a starting point: https://stackblitz.com/fork/angular-gitter).\r\n--\u003e\r\nIn this example: https://stackblitz.com/edit/pathless-route we can see that links are correct only when the parent route is path-full or it has no activated child.\r\n## What is the motivation / use case for changing the behavior?\r\n\u003c!-- Describe the motivation or the concrete use case. --\u003e\r\nThe importance of the correction of this behavior is to allow using many routes on the same level including a pathless route as a default route (as for languages) with the same children.\r\n\r\n## Environment\r\n\r\n\u003cpre\u003e\u003ccode\u003eAngular version: 6.1.9\u003c/code\u003e\u003c/pre\u003e\r\n","author":{"url":"https://github.com/miginmrs","@type":"Person","name":"miginmrs"},"datePublished":"2018-10-03T10:05:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/26224/angular/issues/26224"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2ab0f337-eda9-2388-ba88-f571dbc033bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9302:2D32B7:7446C0:9E2B9A:6A5FD43B |
| html-safe-nonce | 2a70a22462d428f890c591041f172193a65a65fe78485185731adb9f13c5aa37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzAyOjJEMzJCNzo3NDQ2QzA6OUUyQjlBOjZBNUZENDNCIiwidmlzaXRvcl9pZCI6IjY2NDYwMTYzMTk1NTI0NzYyMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3aa20a8b7e2a65f9d96c9054f98f6d92dfca1ed0e8722b4c9807ad85e0d617c |
| hovercard-subject-tag | issue:366262887 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/26224/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86667c55379112a1a7fff11050ced1f9a6bcd375597932bb76f11e33f6e44a6e/angular/angular/issues/26224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86667c55379112a1a7fff11050ced1f9a6bcd375597932bb76f11e33f6e44a6e/angular/angular/issues/26224 |
| og:image:alt | I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Performance issue [ ] Feature request [ ] Documentation issue or request [ ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miginmrs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1904016bf220ad1311da188567b50f2c83d69b89a554fd8b017417589fbe29 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f83c469daaa92993df0b1f479d525995ec8cc172 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width