Title: Router : Resolve guard throw an exception when observable emits an error rc5 · Issue #10930 · angular/angular · GitHub
Open Graph Title: Router : Resolve guard throw an exception when observable emits an error rc5 · Issue #10930 · angular/angular
X Title: Router : Resolve guard throw an exception when observable emits an error rc5 · Issue #10930 · angular/angular
Description: I'm submitting a ... (check one with "x") [x ] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/a...
Open Graph Description: I'm submitting a ... (check one with "x") [x ] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support reques...
X Description: I'm submitting a ... (check one with "x") [x ] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not s...
Opengraph URL: https://github.com/angular/angular/issues/10930
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Router : Resolve guard throw an exception when observable emits an error rc5","articleBody":"**I'm submitting a ...** (check one with \"x\")\n\n```\n[x ] bug report => search github for a similar issue or PR before submitting\n[ ] feature request\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\nResolve guard throw an exception when observable emits an error\n\nI wonder if this is the desired behavior... But i think it is annoying\n\n**Expected/desired behavior**\nIt should block navigation, but shouldn't throw an exception\n\n**Reproduction of the problem**\nOpen console\nClick in \"admin\"\nYou will see that navigation didn't complete(as expected) but throw an exception\n\nPlunker(for some reason this plunker doesn't work in IE) :\nhttp://plnkr.co/edit/IgXUx3fBVqonWAegIdhw?p=preview\n\nEXCEPTION: Error: Uncaught (in promise): PROBLEM HEREBrowserDomAdapter.logError @ platform-browser.umd.js:937\nplatform-browser.umd.js:937 STACKTRACE:BrowserDomAdapter.logError @ platform-browser.umd.js:937\nplatform-browser.umd.js:937 Error: Uncaught (in promise): PROBLEM HERE\n at resolvePromise (zone.js:538)\n at zone.js:515\n at ZoneDelegate.invoke (zone.js:323)\n at Object.onInvoke (core.umd.js:9245)\n at ZoneDelegate.invoke (zone.js:322)\n at Zone.run (zone.js:216)\n at zone.js:571\n at ZoneDelegate.invokeTask (zone.js:356)\n at Object.onInvokeTask (core.umd.js:9236)\n at ZoneDelegate.invokeTask (zone.js:355)BrowserDomAdapter.logError @ platform-browser.umd.js:937\nzone.js:461 Unhandled Promise rejection: PROBLEM HERE ; Zone: angular ; Task: Promise.then ; Value: PROBLEM HEREconsoleError @ zone.js:461\nzone.js:463 Error: Uncaught (in promise): PROBLEM HERE(…)consoleError @ zone.js:463\nhttp://run.plnkr.co/9tydCUSb9GI7OyYR/style.css Failed to load resource: the server responded with a status of 404 (Not Found)\n\n**What is the expected behavior?**\nShouldn throw an exception\n\n**Please tell us about your environment:**\nWindows\nChrome\n- **Angular version:** 2.0.0-rc.5\n- **Browser:** [Chrome ] \n- **Language:** [TypeScript] \n","author":{"url":"https://github.com/gugamm","@type":"Person","name":"gugamm"},"datePublished":"2016-08-18T20:13:18Z","url":"https://github.com/angular/angular/issues/10930"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:76ff945d-0cfc-ea5e-2f4c-bc968b423479 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B24C:149F72:17A4D:201AE:6B015A65 |
| html-safe-nonce | 7f42d5f207eaa65a2a4a18881d3e9f0f447d3a83934c662e75cbe749e624fc1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjRDOjE0OUY3MjoxN0E0RDoyMDFBRTo2QjAxNUE2NSIsInZpc2l0b3JfaWQiOiI4Mzc0MDgzNzQ5NTQ1MDczMjUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9133545c9101804bdc68c5e41d874eb9bc75157679089f78f2f0c5734c440b0c |
| hovercard-subject-tag | issue:171990117 |
| 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/10930/issue_layout |
| twitter:image | https://opengraph.githubassets.com/edaa9be57983aaf2115f8dff6131e68d38502e8c0a80e6e8395d1f9627bd0a95/angular/angular/issues/10930 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edaa9be57983aaf2115f8dff6131e68d38502e8c0a80e6e8395d1f9627bd0a95/angular/angular/issues/10930 |
| og:image:alt | I'm submitting a ... (check one with "x") [x ] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support reques... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gugamm |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width