Title: LOCALE_ID is being set before APP_INITIALIZER runs · Issue #31465 · angular/angular · GitHub
Open Graph Title: LOCALE_ID is being set before APP_INITIALIZER runs · Issue #31465 · angular/angular
X Title: LOCALE_ID is being set before APP_INITIALIZER runs · Issue #31465 · angular/angular
Description: 🐞 bug report Affected Package The issue is caused by package @angular/core. Is this a regression? Yes, the previous version in which this bug was not present was: 7.2.15 Description Angular is trying to set the LOCALE_ID before the APP_I...
Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/core. Is this a regression? Yes, the previous version in which this bug was not present was: 7.2.15 Description Angular is tryi...
X Description: 🐞 bug report Affected Package The issue is caused by package @angular/core. Is this a regression? Yes, the previous version in which this bug was not present was: 7.2.15 Description Angular is tryi...
Opengraph URL: https://github.com/angular/angular/issues/31465
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"LOCALE_ID is being set before APP_INITIALIZER runs","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package `@angular/core`.\r\n\r\n\r\n### Is this a regression?\r\n\r\nYes, the previous version in which this bug was not present was: `7.2.15`\r\n\r\n\r\n### Description\r\n\r\nAngular is trying to set the `LOCALE_ID` before the `APP_INITIALIZER` runs to set the runtime i18n value for Ivy. This does not allow the application to fetch the locale from a backend. This is happening without Ivy mode activated.\r\n\r\nThe screenshot below is from file: `node_modules/@angular/core/fesm2015/core.js`.\r\n\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n```\r\nAngular CLI: 8.1.0\r\nNode: 10.16.0\r\nOS: linux x64\r\nAngular: 8.1.0\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.801.0\r\n@angular-devkit/build-angular 0.801.0\r\n@angular-devkit/build-optimizer 0.801.0\r\n@angular-devkit/build-webpack 0.801.0\r\n@angular-devkit/core 8.1.0\r\n@angular-devkit/schematics 8.1.0\r\n@angular/cdk 8.0.2\r\n@angular/material 8.0.2\r\n@ngtools/webpack 8.1.0\r\n@schematics/angular 8.1.0\r\n@schematics/update 0.801.0\r\nrxjs 6.5.2\r\ntypescript 3.4.5\r\nwebpack 4.35.2\r\n```\r\n","author":{"url":"https://github.com/elias-garcia","@type":"Person","name":"elias-garcia"},"datePublished":"2019-07-09T11:59:17Z","url":"https://github.com/angular/angular/issues/31465"}
| 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:515bd9a1-e2bc-3dcf-1a42-04ed3ae09b0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCE4:96DDF:16EC6A4:1D0A439:6B0133D9 |
| html-safe-nonce | 311372472160733cf86ea69cc2f38f562e73cf0efb3d31e999e8e09c7c4608ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0U0Ojk2RERGOjE2RUM2QTQ6MUQwQTQzOTo2QjAxMzNEOSIsInZpc2l0b3JfaWQiOiI2ODcyMDU2NTYxNDA2MTI5MTEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d6cbc7206425caac45ad602311769bdf40600c0e33bbb8a5d0caa07f5d61a134 |
| hovercard-subject-tag | issue:465739920 |
| 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/31465/issue_layout |
| twitter:image | https://opengraph.githubassets.com/67bb7fa38e345418f23ac286171a58a99efd58d1584cdf767ff4fc7066069ab7/angular/angular/issues/31465 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/67bb7fa38e345418f23ac286171a58a99efd58d1584cdf767ff4fc7066069ab7/angular/angular/issues/31465 |
| og:image:alt | 🐞 bug report Affected Package The issue is caused by package @angular/core. Is this a regression? Yes, the previous version in which this bug was not present was: 7.2.15 Description Angular is tryi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | elias-garcia |
| 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