Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid workspace config when sourceLocale is es-419 #16935

Closed
javiermarinros opened this issue Feb 11, 2020 · 1 comment · Fixed by #16936
Closed

Invalid workspace config when sourceLocale is es-419 #16935

javiermarinros opened this issue Feb 11, 2020 · 1 comment · Fixed by #16936
Labels
area: @angular-devkit/core freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Milestone

Comments

@javiermarinros
Copy link

When sourceLocale is set to "es-419", the following error is thrown:

An unhandled exception occurred: Workspace config file cannot be loaded:
angular.json
Schema validation failed with the following errors:
Data path ".projects[''].i18n.sourceLocale" should match pattern "^[a-z]{2}(-[a-zA-Z]{2,})?$".
Data path ".projects[''].i18n.sourceLocale" should be object.
Data path ".projects[''].i18n.sourceLocale" should match exactly one schema in oneOf.

clydin added a commit to clydin/angular-cli that referenced this issue Feb 11, 2020
clydin added a commit to clydin/angular-cli that referenced this issue Feb 11, 2020
@alan-agius4 alan-agius4 added area: @angular-devkit/core freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix labels Feb 11, 2020
@ngbot ngbot bot modified the milestone: Backlog Feb 11, 2020
dgp1130 pushed a commit that referenced this issue Feb 11, 2020
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/core freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants