René's URL Explorer Experiment


Title: NavigationError EmptyError: no elements in sequence since upgrade to 14.1 · Issue #47089 · angular/angular · GitHub

Open Graph Title: NavigationError EmptyError: no elements in sequence since upgrade to 14.1 · Issue #47089 · angular/angular

X Title: NavigationError EmptyError: no elements in sequence since upgrade to 14.1 · Issue #47089 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? router Is this a regression? Yes Description Hello, Since the upgrade from Angular 14.0.6 to 14.1.1, all of your routing configurations are broken because rxjs is throwing an EmptyEr...

Open Graph Description: Which @angular/* package(s) are the source of the bug? router Is this a regression? Yes Description Hello, Since the upgrade from Angular 14.0.6 to 14.1.1, all of your routing configurations are br...

X Description: Which @angular/* package(s) are the source of the bug? router Is this a regression? Yes Description Hello, Since the upgrade from Angular 14.0.6 to 14.1.1, all of your routing configurations are br...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NavigationError EmptyError: no elements in sequence since upgrade to 14.1","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nrouter\n\n### Is this a regression?\n\nYes\n\n### Description\n\nHello,\r\n\r\nSince the upgrade from Angular 14.0.6 to 14.1.1, all of your routing configurations are broken because rxjs is throwing an EmptyError when processing the routing.\r\n\r\nAfter some searching, I found that it is related to the commit https://github.com/angular/angular/commit/72e6a948bb8ec58f14b87d297d5f81baf2e1942d from @atscott \r\n\r\nIt seems that the observable `processSegment` is closed before emitting a value:\r\n```typescript\r\n processSegment(injector, routes, segmentGroup, segments, outlet) {\r\n        return from(routes).pipe(concatMap(r => {\r\n            return this.processSegmentAgainstRoute(r._injector ?? injector, r, segmentGroup, segments, outlet);\r\n        }), first((x) => !!x), catchError(e => {\r\n            // THE ERROR IS THROWN HERE\r\n            if (e instanceof EmptyError) {\r\n                if (noLeftoversInUrl(segmentGroup, segments, outlet)) {\r\n                    return of([]);\r\n                }\r\n                return of(null);\r\n            }\r\n            throw e;\r\n        }));\r\n    }\r\n```\r\nI suspect the `first` operator above.\r\n\r\nMy routing configuration:\r\n```\r\n{\r\n    path: ':brandId',\r\n    children: [\r\n      { path: '', redirectTo: 'admin', pathMatch: 'full' },\r\n      {\r\n        path: 'admin',\r\n        children: [\r\n          {\r\n            path: '',\r\n            redirectTo: 'orga',\r\n            pathMatch: 'full',\r\n          },\r\n          {\r\n            path: 'orga',\r\n            component: OrganizationComponent,\r\n            children: [\r\n              {\r\n                path: 'test',\r\n                component: DetailsComponent,\r\n              },\r\n            ],\r\n          },\r\n        ],\r\n      },\r\n    ],\r\n  },\r\n```\r\n\r\nWHen I remove the last config:\r\n```\r\n            children: [\r\n              {\r\n                path: 'test',\r\n                component: DetailsComponent,\r\n              },\r\n            ],\r\n```\r\nIt works !!\r\n\r\nAny ideas?\n\n### Please provide a link to a minimal reproduction of the bug\n\n_No response_\n\n### Please provide the exception or error you saw\n\n_No response_\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI: 14.1.1\r\nNode: 16.15.0\r\nPackage Manager: yarn 1.22.15\r\nOS: darwin x64\r\n\r\nAngular: 14.1.1\r\n... animations, cdk, cli, common, compiler, compiler-cli, core\r\n... forms, language-service, material, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                         Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect       0.1401.1\r\n@angular-devkit/build-angular   14.1.1\r\n@angular-devkit/core            14.1.1\r\n@angular-devkit/schematics      14.1.1\r\n@schematics/angular             14.1.1\r\nrxjs                            7.5.6\r\ntypescript                      4.7.4\r\nwebpack                         5.73.0\r\n\r\n\r\nthe project is also using Nrwl/Nx:\r\n   Node : 16.15.0\r\n   OS   : darwin x64\r\n   yarn : 1.22.15\r\n\r\n   nx : 14.5.4\r\n   @nrwl/angular : 14.5.4\r\n   @nrwl/cypress : 14.5.4\r\n   @nrwl/detox : Not Found\r\n   @nrwl/devkit : 14.5.4\r\n   @nrwl/eslint-plugin-nx : 14.5.4\r\n   @nrwl/express : Not Found\r\n   @nrwl/jest : 14.5.4\r\n   @nrwl/js : 14.5.4\r\n   @nrwl/linter : 14.5.4\r\n   @nrwl/nest : Not Found\r\n   @nrwl/next : Not Found\r\n   @nrwl/node : 14.5.4\r\n   @nrwl/nx-cloud : Not Found\r\n   @nrwl/nx-plugin : 14.5.4\r\n   @nrwl/react : Not Found\r\n   @nrwl/react-native : Not Found\r\n   @nrwl/schematics : Not Found\r\n   @nrwl/storybook : 14.5.4\r\n   @nrwl/web : 14.5.4\r\n   @nrwl/workspace : 14.5.4\r\n   typescript : 4.7.4\r\n   ---------------------------------------\r\n   Community plugins:\r\n   \t @auth0/auth0-angular: 1.10.0\r\n   \t @cumul.io/ngx-cumulio-dashboard: 3.0.2\r\n   \t @ngneat/edit-in-place: 1.6.1\r\n   \t @ngneat/transloco: 4.1.1\r\n   \t @ngrx/component: 14.0.2\r\n   \t @ngrx/component-store: 14.0.2\r\n   \t ng2-charts: 3.0.11\r\n   \t single-spa-angular: 7.1.0\r\n   \t @compodoc/compodoc: 1.1.19\r\n   \t @ngneat/spectator: 11.1.0\r\n   \t @storybook/angular: 6.5.9\r\n   \t @twittwer/compodoc: 1.8.0\n```\n\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/jogelin","@type":"Person","name":"jogelin"},"datePublished":"2022-08-09T06:42:03Z","url":"https://github.com/angular/angular/issues/47089"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:72a87954-1f6b-3a9a-9bd9-deb149b9db53
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDF56:19E4BB:BCC996:F23934:6B00FCB1
html-safe-nonce1f7967055050cc0055b61678bdb7281e93f6174c31c5a849e480a4ac3042ef56
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjU2OjE5RTRCQjpCQ0M5OTY6RjIzOTM0OjZCMDBGQ0IxIiwidmlzaXRvcl9pZCI6Ijc2NDA4NTg4Mzg0MjEyNzM3NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0dd2674578550338d3d65f5f1edef6dbe1c407f5b3ee57a9719bfeea98e03838
hovercard-subject-tagissue:1332787298
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/47089/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4b862541b2bfb33a3bca9570943aa27c6b6f1b18f828c1f3901ab44e9cae2e7f/angular/angular/issues/47089
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b862541b2bfb33a3bca9570943aa27c6b6f1b18f828c1f3901ab44e9cae2e7f/angular/angular/issues/47089
og:image:altWhich @angular/* package(s) are the source of the bug? router Is this a regression? Yes Description Hello, Since the upgrade from Angular 14.0.6 to 14.1.1, all of your routing configurations are br...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejogelin
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/47089#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F47089
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F47089
Sign uphttps://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/47089
Reloadhttps://github.com/angular/angular/issues/47089
Reloadhttps://github.com/angular/angular/issues/47089
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/47089
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/47089
NavigationError EmptyError: no elements in sequence since upgrade to 14.1https://github.com/angular/angular/issues/47089#top
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P1%22
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/jogelin
jogelinhttps://github.com/jogelin
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issue-1332787298
72e6a94https://github.com/angular/angular/commit/72e6a948bb8ec58f14b87d297d5f81baf2e1942d
@atscotthttps://github.com/atscott
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7154362192
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7154362773
https://github.com/atscott
atscotthttps://github.com/atscott
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209463234
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7156116681
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7156117215
https://github.com/atscott
atscotthttps://github.com/atscott
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209496553
https://stackblitz.com/edit/angular-ivy-htfvw6?file=src%2Fmain.ts,src%2Fstyles.csshttps://stackblitz.com/edit/angular-ivy-htfvw6?file=src%2Fmain.ts,src%2Fstyles.css
https://github.com/jogelin
jogelinhttps://github.com/jogelin
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209508173
@atscotthttps://github.com/atscott
https://github.com/atscott
atscotthttps://github.com/atscott
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209520492
@jogelinhttps://github.com/jogelin
https://github.com/atscott
atscotthttps://github.com/atscott
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209600167
@jogelinhttps://github.com/jogelin
https://github.com/jogelin
jogelinhttps://github.com/jogelin
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209621638
@atscotthttps://github.com/atscott
https://user-images.githubusercontent.com/954509/183708545-5ea355c3-e6ef-4a5e-bc55-ee7257a913a9.png
https://user-images.githubusercontent.com/954509/183708791-20091fed-8f64-4e88-84d6-af8fec42e39c.png
https://github.com/atscott
atscotthttps://github.com/atscott
on Aug 9, 2022https://github.com/angular/angular/issues/47089#issuecomment-1209631357
@jogelinhttps://github.com/jogelin
https://github.com/ReactiveX/rxjs/blob/bb3da37fd3f862d09f3c139f647acd694a4c4877/src/internal/util/EmptyError.tshttps://github.com/ReactiveX/rxjs/blob/bb3da37fd3f862d09f3c139f647acd694a4c4877/src/internal/util/EmptyError.ts
1160b81https://github.com/angular/angular/commit/1160b8194f78141b40d1d4885ec182d033ff2659
atscotthttps://github.com/atscott
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7157504347
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
needsTriagehttps://github.com/angular/angular/milestone/83
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7157504612
atscotthttps://github.com/atscott
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P1%22
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7157506679
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Aug 9, 2022https://github.com/angular/angular/issues/47089#event-7157506791
https://github.com/jogelin
jogelinhttps://github.com/jogelin
on Aug 10, 2022https://github.com/angular/angular/issues/47089#issuecomment-1210293026
@atscotthttps://github.com/atscott
dylhunnhttps://github.com/dylhunn
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
2a43beehttps://github.com/angular/angular/commit/2a43beec159990b8c4bafc7f189e2bd85002dc7a
on Aug 10, 2022https://github.com/angular/angular/issues/47089#event-7165400701
atscotthttps://github.com/atscott
on Aug 10, 2022https://github.com/angular/angular/issues/47089#event-7165591231
fix(router): Fix route recognition behavior with some versions of rxjs (https://github.com/atscott/angular/commit/f79b70052e45239c1a310c6dbb497126f8aac5d4
https://docs.github.com/articles/closing-issues-via-commit-messages
f79b700https://github.com/atscott/angular/commit/f79b70052e45239c1a310c6dbb497126f8aac5d4
dylhunnhttps://github.com/dylhunn
on Aug 10, 2022https://github.com/angular/angular/issues/47089#event-7165929485
fix(router): Fix route recognition behavior with some versions of rxjs (https://github.com/angular/angular/commit/439d77e852c2e08d384c420a2c3a962a804c60f1
https://docs.github.com/articles/closing-issues-via-commit-messages
439d77ehttps://github.com/angular/angular/commit/439d77e852c2e08d384c420a2c3a962a804c60f1
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 10, 2022https://github.com/angular/angular/issues/47089#issuecomment-1242760000
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 10, 2022https://github.com/angular/angular/issues/47089#event-7361121274
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/47089
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/47089
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P1%22
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%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.