Project

General

Profile

Bug #46105

mgr/dashboard: fails to start dev server with zh-CN or zh-TW configuration

Added by Kiefer Chang 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/i18n
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:
Tags:

Description

Starting dev server with `--configuration=zh-CN` or `--configuration=zh-TW` fails with the error:

[cd.js] 'src/environments/environment.tpl.ts' was copied to 'src/environments/environment.prod.ts'
[cd.js] 'src/environments/environment.tpl.ts' was copied to 'src/environments/environment.ts'
[cd.js] Placeholders were replace in 'src/environments/environment.ts'
[cd.js] Placeholders were replace in 'src/environments/environment.prod.ts'
An unhandled exception occurred: Configuration 'zh-TW' is not set in the workspace.
See "/tmp/ng-yD9LIo/angular-errors.log" for further details.

History

#1 Updated by Kiefer Chang 7 months ago

  • Subject changed from mgr/dashboard: fails to start dev server with zh-Hans or zh-Hant to mgr/dashboard: fails to start dev server with zh-CN or zh-TW configuration

#2 Updated by Kiefer Chang 7 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kiefer Chang
  • Pull request ID set to 35668

#3 Updated by Lenz Grimmer 7 months ago

  • Tags set to i18n
  • Status changed from Fix Under Review to Resolved
  • Target version set to v16.0.0
  • Regression changed from No to Yes

Also available in: Atom PDF