Title: Breaking undocumented change from Angular 13 to 14 in custom PreloadingStrategy. "preload"-method is called despite a set canLoad-guard. · Issue #47003 · angular/angular · GitHub
Open Graph Title: Breaking undocumented change from Angular 13 to 14 in custom PreloadingStrategy. "preload"-method is called despite a set canLoad-guard. · Issue #47003 · angular/angular
X Title: Breaking undocumented change from Angular 13 to 14 in custom PreloadingStrategy. "preload"-method is called despite a set canLoad-guard. · Issue #47003 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core, router Is this a regression? Yes Description In Angular 13.3.10 the "preload"-Method in a custom PreloadingStrategy is not called for routes with a set canLoad-guard. https://s...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core, router Is this a regression? Yes Description In Angular 13.3.10 the "preload"-Method in a custom PreloadingStrategy is not called for ro...
X Description: Which @angular/* package(s) are the source of the bug? core, router Is this a regression? Yes Description In Angular 13.3.10 the "preload"-Method in a custom PreloadingStrategy is not cal...
Opengraph URL: https://github.com/angular/angular/issues/47003
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Breaking undocumented change from Angular 13 to 14 in custom PreloadingStrategy. \"preload\"-method is called despite a set canLoad-guard.","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncore, router\n\n### Is this a regression?\n\nYes\n\n### Description\n\nIn Angular 13.3.10 the \"preload\"-Method in a custom PreloadingStrategy is not called for routes with a set canLoad-guard.\r\nhttps://stackblitz.com/edit/angular-ivy-wf131m?file=src/app/app-routing.module.ts\r\nThis is also mentioned in the documentation: https://angular.io/guide/router-tutorial-toh#canload-blocks-preload\r\n\r\nIn Angular 14.0.0 this behaviour changed. The \"preload\"-method is called despite a set canLoad-guard. This change was not mentioned in the changelog and is the opposite of what is written in the documentation. Is this an intended change?\r\nhttps://stackblitz.com/edit/angular-ivy-nabdle?file=src/app/app-routing.module.ts\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://stackblitz.com/edit/angular-ivy-nabdle?file=src/app/app-routing.module.ts\n\n### Please provide the exception or error you saw\n\n```true\nThe \"preload\"-method is called despite a set canLoad-guard in angular 14.\n```\n\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n_No response_\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/5te1n","@type":"Person","name":"5te1n"},"datePublished":"2022-08-01T07:45:37Z","url":"https://github.com/angular/angular/issues/47003"}
| 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:40481fcf-1a4f-3b07-76cc-2a4f54e67076 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDA0:1F44:6FC345:929E6A:6B00FD76 |
| html-safe-nonce | 8cec6770a82235e3840fdeb936c88bc685cf2ce93b5df209e1ed3b852afb88e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREEwOjFGNDQ6NkZDMzQ1OjkyOUU2QTo2QjAwRkQ3NiIsInZpc2l0b3JfaWQiOiI3NjA2OTA4MTUyNzM4NTQ1MDE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7c37b1717eed6e3abc1a31693652797a939c7fbced8e22b4e51a665054c38b15 |
| hovercard-subject-tag | issue:1323978363 |
| 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/47003/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e42a3bf763b2136aa051bbe27e9b9ed605ad821afa0e7008d75085658a4ab43c/angular/angular/issues/47003 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e42a3bf763b2136aa051bbe27e9b9ed605ad821afa0e7008d75085658a4ab43c/angular/angular/issues/47003 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core, router Is this a regression? Yes Description In Angular 13.3.10 the "preload"-Method in a custom PreloadingStrategy is not called for ro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 5te1n |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width