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

missing localization message for force:org:create #1638

Closed
mcaryatsalesforce opened this issue Jul 21, 2022 · 2 comments
Closed

missing localization message for force:org:create #1638

mcaryatsalesforce opened this issue Jul 21, 2022 · 2 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@mcaryatsalesforce
Copy link

Summary

Localization in en_US for error messages is not being found.

Steps to Reproduce

% sfdx force:org:create -f scratch-from-shape-3.json -a w-11120496-scratch -v w-11120496

... using whichever aliases you have available. The scratch-org definition file is immaterial; here is a basic one.

{
  "orgName": "minimal ee org",
  "edition": "Enterprise",
  "features": [],
  "settings": {}
}

Expected result

Error message about using the wrong dev hub username is displayed.

Actual result

ERROR running force:org:create:  Missing message org_create:RequiresDevhubUsernameError for locale en_US.

Workaround

None

System Information

sfdx version --verbose --json
{
	"cliVersion": "sfdx-cli/7.159.0",
	"architecture": "darwin-x64",
	"nodeVersion": "node-v16.15.1",
	"pluginVersions": [
		"@oclif/plugin-autocomplete 0.3.0 (core)",
		"@oclif/plugin-commands 1.3.0 (core)",
		"@oclif/plugin-help 3.3.1 (core)",
		"@oclif/plugin-not-found 1.2.6 (core)",
		"@oclif/plugin-plugins 1.10.11 (core)",
		"@oclif/plugin-update 1.5.0 (core)",
		"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
		"@oclif/plugin-which 1.0.4 (core)",
		"@salesforce/sfdx-plugin-lwc-test 1.0.0 (core)",
		"alias 2.1.0 (core)",
		"apex 1.1.0 (core)",
		"auth 2.2.2 (core)",
		"community 2.0.0 (core)",
		"config 1.4.14 (core)",
		"custom-metadata 2.0.0 (core)",
		"data 2.0.4 (core)",
		"generator 2.0.2 (core)",
		"info 2.0.1 (core)",
		"limits 2.0.1 (core)",
		"org 2.0.2 (core)",
		"salesforce-alm 54.6.2 (core)",
		"schema 2.1.1 (core)",
		"sfdx-cli 7.159.0 (core)",
		"signups 1.2.0 (core)",
		"source 2.0.7 (core)",
		"telemetry 2.0.0 (core)",
		"templates 55.0.0 (core)",
		"trust 2.0.1 (core)",
		"user 2.1.0 (core)"
	],
	"osVersion": "Darwin 20.6.0"
}

Additional Information

force:org:create is an old verb, so the l10n should have been done and included long ago. Suspect there is an issue loading it?

@peternhale peternhale added the bug Issue or pull request that identifies or fixes a bug label Jul 21, 2022
@git2gus
Copy link

git2gus bot commented Jul 21, 2022

This issue has been linked to a new work item: W-11470675

@mcaryatsalesforce
Copy link
Author

Installed stable-rc which includes salesforcecli/toolbelt#259 – and, success!

% sfdx update stable-rc
sfdx-cli: Updating CLI from 7.160.0-65e206c to 7.161.0-7a9b98c... done
sfdx-cli: Updating CLI... done
sfdx-cli: Updating sf... done

% sfdx force:org:create -f scratch-from-shape-3.json -a w-11120496-scratch -v w-11120496
ERROR running force:org:create:  This command requires a dev hub org username set either with a flag or by default in the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants