René's URL Explorer Experiment


Title: LOCALE_ID is being set before APP_INITIALIZER finish execution - [ng serve only] · Issue #34701 · angular/angular · GitHub

Open Graph Title: LOCALE_ID is being set before APP_INITIALIZER finish execution - [ng serve only] · Issue #34701 · angular/angular

X Title: LOCALE_ID is being set before APP_INITIALIZER finish execution - [ng serve only] · Issue #34701 · angular/angular

Description: 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes. It is a breaking change. Description LOCALE_ID is being set before APP_INITIALIZER funct...

Open Graph Description: 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes. It is a breaking change. Description LOCALE_ID i...

X Description: 🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes. It is a breaking change. Description LOCALE_ID i...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"LOCALE_ID is being set before APP_INITIALIZER finish execution - [ng serve only]","articleBody":"# 🐞 Bug report\r\n\r\n### Command (mark with an `x`)\r\n- [ ] new\r\n- [ ] build\r\n- [x] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n\r\n\r\n### Is this a regression?\r\n\r\nYes. It is a breaking change.\r\n\r\n### Description\r\nLOCALE_ID is being set before APP_INITIALIZER function finish execution.\r\nInterestingly, this behavior can be observed only with ng serve. Both repositories will work fine on stackblitz.\r\n\r\n## 🔬 Minimal Reproduction\r\nHere is the reproduction repo:\r\nhttps://stackblitz.com/github/TomaszCz/angular-ivy-LOCALID\r\nand the same repo after **ng update @angular/core @angular/cli --next** \r\nhttps://stackblitz.com/github/TomaszCz/angular-ivy-LOCALID/tree/angular9\r\n\r\nclone and run **ng serve** the updated one will not work - the locale value will be undefined.\r\n\r\n## 🔥 Exception or Error\r\nAfter update:\r\n![image](https://user-images.githubusercontent.com/20865719/72070824-b80fca00-32ea-11ea-9d8e-215f7fcf8ee8.png)\r\n\r\nBefore the update:\r\n![image](https://user-images.githubusercontent.com/20865719/72071400-ff4a8a80-32eb-11ea-9fa7-ce62fee1da47.png)\r\n\r\n\r\n## 🌍 Your Environment\r\nBefore update:\r\n\u003cpre>\u003ccode>\r\nC:\\a\\AngularPOC\\angular>ng version\r\n\r\n     _                      _                 ____ _     ___\r\n    / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n   / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n  / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n /_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___/\r\n\r\n\r\nAngular CLI: 8.3.22\r\nNode: 12.3.1\r\nOS: win32 x64\r\nAngular: 8.2.14\r\n... animations, 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.803.22\r\n@angular-devkit/build-angular     0.803.22\r\n@angular-devkit/build-optimizer   0.803.22\r\n@angular-devkit/build-webpack     0.803.22\r\n@angular-devkit/core              8.3.22\r\n@angular-devkit/schematics        8.3.22\r\n@angular/cli                      8.3.22\r\n@ngtools/webpack                  8.3.22\r\n@schematics/angular               8.3.22\r\n@schematics/update                0.803.22\r\nrxjs                              6.5.4\r\ntypescript                        3.5.3\r\nwebpack                           4.39.2\r\n\u003c/code>\u003c/pre>\r\n\r\nAfter update:\r\n\u003cpre>\u003ccode>\r\nC:\\a\\AngularPOC\\angular>ng version\r\n\r\n     _                      _                 ____ _     ___\r\n    / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n   / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n  / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n /_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___/\r\n    \r\n\r\nAngular CLI: 9.0.0-rc.8\r\nNode: 12.3.1\r\nOS: win32 x64\r\n\r\nAngular: 9.0.0-rc.8\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\nIvy Workspace: Yes\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.900.0-rc.8\r\n@angular-devkit/build-angular     0.900.0-rc.8\r\n@angular-devkit/build-optimizer   0.900.0-rc.8\r\n@angular-devkit/build-webpack     0.900.0-rc.8\r\n@angular-devkit/core              9.0.0-rc.8\r\n@angular-devkit/schematics        9.0.0-rc.8\r\n@ngtools/webpack                  9.0.0-rc.8\r\n@schematics/angular               9.0.0-rc.8\r\n@schematics/update                0.900.0-rc.8\r\nrxjs                              6.5.4\r\ntypescript                        3.6.4\r\nwebpack                           4.41.2\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\nI see similar closed issue\r\nhttps://github.com/angular/angular/issues/31465\r\nand the fix https://github.com/angular/angular/pull/31983/commits/08c449dd746bae31ba228164054b90c8402de20f\r\n\r\nhttps://github.com/angular/angular/pull/31983","author":{"url":"https://github.com/TomaszCz","@type":"Person","name":"TomaszCz"},"datePublished":"2020-01-09T13:28:44Z","url":"https://github.com/angular/angular/issues/34701"}

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:1f91ed10-d6cb-4c68-6ff9-65d94106f55b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD74:2AAD2E:143C5DC:1AFE949:6B0130A0
html-safe-nonce13268de4fdbe5de9f543002b11c7c77d1a0435205069521041124db1932f08c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc0OjJBQUQyRToxNDNDNURDOjFBRkU5NDk6NkIwMTMwQTAiLCJ2aXNpdG9yX2lkIjoiNjU3NDA1MjA5MzgxOTE3MDk3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccd9d874939b905bbf4d5e82f94ab7b6aa7a9a6f4d291e4ab3023ce9ee840bf17
hovercard-subject-tagissue:547616624
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/34701/issue_layout
twitter:imagehttps://opengraph.githubassets.com/81642d01a7a03677d42a7a39f6ffc8464f336db88f87b2e35dbb630ac4312990/angular/angular/issues/34701
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/81642d01a7a03677d42a7a39f6ffc8464f336db88f87b2e35dbb630ac4312990/angular/angular/issues/34701
og:image:alt🐞 Bug report Command (mark with an x) new build serve test e2e generate add update lint xi18n run config help version doc Is this a regression? Yes. It is a breaking change. Description LOCALE_ID i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTomaszCz
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/34701#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F34701
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%2F34701
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/34701
Reloadhttps://github.com/angular/angular/issues/34701
Reloadhttps://github.com/angular/angular/issues/34701
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)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/34701
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/34701
LOCALE_ID is being set before APP_INITIALIZER finish execution - [ng serve only]https://github.com/angular/angular/issues/34701#top
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
area: i18nIssues related to localization and internationalizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20i18n%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/TomaszCz
TomaszCzhttps://github.com/TomaszCz
on Jan 9, 2020https://github.com/angular/angular/issues/34701#issue-547616624
https://stackblitz.com/github/TomaszCz/angular-ivy-LOCALIDhttps://stackblitz.com/github/TomaszCz/angular-ivy-LOCALID
https://stackblitz.com/github/TomaszCz/angular-ivy-LOCALID/tree/angular9https://stackblitz.com/github/TomaszCz/angular-ivy-LOCALID/tree/angular9
https://user-images.githubusercontent.com/20865719/72070824-b80fca00-32ea-11ea-9d8e-215f7fcf8ee8.png
https://user-images.githubusercontent.com/20865719/72071400-ff4a8a80-32eb-11ea-9fa7-ce62fee1da47.png
#31465https://github.com/angular/angular/issues/31465
08c449dhttps://github.com/angular/angular/commit/08c449dd746bae31ba228164054b90c8402de20f
#31983https://github.com/angular/angular/pull/31983
alan-agius4https://github.com/alan-agius4
angular/angular-clihttps://github.com/angular/angular-cli
on Jan 9, 2020https://github.com/angular/angular/issues/34701#event-2935801479
AndrewKushnirhttps://github.com/AndrewKushnir
area: i18nIssues related to localization and internationalizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20i18n%22
on Jan 9, 2020https://github.com/angular/angular/issues/34701#event-2936068880
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Jan 9, 2020https://github.com/angular/angular/issues/34701#event-2936068966
AndrewKushnirhttps://github.com/AndrewKushnir
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
on Jan 9, 2020https://github.com/angular/angular/issues/34701#event-2936069068
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Jan 16, 2020https://github.com/angular/angular/issues/34701#issuecomment-575246061
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Jan 16, 2020https://github.com/angular/angular/issues/34701#issuecomment-575256215
#31465https://github.com/angular/angular/issues/31465
angular/packages/core/test/application_ref_spec.tshttps://github.com/angular/angular/blob/86e1e6c0823a6a8cf4314a655eaa6aef14a474b8/packages/core/test/application_ref_spec.ts#L346-L359
86e1e6chttps://github.com/angular/angular/commit/86e1e6c0823a6a8cf4314a655eaa6aef14a474b8
matskohttps://github.com/matsko
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
e0ad9echttps://github.com/angular/angular/commit/e0ad9ecda0b8a541b405d2ab35335b90ceb21fd1
on Jan 17, 2020https://github.com/angular/angular/issues/34701#event-2959536094
matskohttps://github.com/matsko
on Jan 17, 2020https://github.com/angular/angular/issues/34701#event-2959536179
fix(ivy): ensure that `LOCALE_ID` is set after app initializers (#34830)https://github.com/angular/angular/commit/76439132989f9935b19d961bd827d0e9c0b5bc81
#34830https://github.com/angular/angular/pull/34830
https://docs.github.com/articles/closing-issues-via-commit-messages
7643913https://github.com/angular/angular/commit/76439132989f9935b19d961bd827d0e9c0b5bc81
https://github.com/TomaszCz
TomaszCzhttps://github.com/TomaszCz
on Jan 23, 2020https://github.com/angular/angular/issues/34701#issuecomment-577669487
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Feb 23, 2020https://github.com/angular/angular/issues/34701#issuecomment-590084748
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Feb 23, 2020https://github.com/angular/angular/issues/34701#event-3063519583
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/34701
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/34701
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
area: i18nIssues related to localization and internationalizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20i18n%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.