forcedotcom / forcedotcom/cli

`sf org resume sandbox` command returns error when the target org (user) language is not in English

Open
#2,428 12 comments 0 reactions 0 assignees View on GitHub
area:signups bug owned by another team validated
Dominant language
No language data
Stars
571
Forks
80
Avg merge
2d 15h
Merged PRs (30d)
3

Description

### Summary
`sf org resume sandbox` command always returns error if the target sandbox language is in Japanese (in non-English languages) regardless of the sandbox status.

### Steps To Reproduce

- Setup DevHub org login user language to Japanese.
- Run sf command to create a Sandbox : `sf org create sandbox -o devhub@username -l Developer -n test202308 --no-prompt --async`
- Then run `sf org resume sandbox --name test202308`
- It returns `Error (1): The sandbox test202308 cannot resume with status of 処理中.`.
- "処理中" is "In Progress" in Japanese
- It also returns `Error (1): The sandbox test202308 cannot resume with status of 有効化中.` after a while. "有効化中" is "Activating" in Japanese.
- It also return `Error (1): The sandbox test202308 cannot resume with status of 完了.` after a while. "完了" is "Completed" in Japanese.

### Expected result
Check the status of a sandbox creation, and log in to it if it's ready without error.

### Actual result
`Error (1): The sandbox test202308 cannot resume with status of 完了.`

### System Information
`sf version --verbose --json`

```
{
"cliVersion": "@salesforce/cli/2.5.8",
"architecture": "darwin-x64",
"nodeVersion": "node-v18.16.0",
"osVersion": "Darwin 22.6.0",
"shell": "zsh",
"rootPath": "/Users/ninoish/.volta/tools/image/packages/@salesforce/cli/lib/node_modules/@salesforce/cli",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.3.6 (core)",
"@oclif/plugin-commands 2.2.22 (core)",
"@oclif/plugin-help 5.2.17 (core)",
"@oclif/plugin-not-found 2.3.37 (core)",
"@oclif/plugin-plugins 3.2.6 (core)",
"@oclif/plugin-search 0.0.22 (core)",
"@oclif/plugin-update 3.1.32 (core)",
"@oclif/plugin-version 1.3.8 (core)",
"@oclif/plugin-warn-if-update-available 2.0.48 (core)",
"@oclif/plugin-which 2.2.30 (core)",
"@salesforce/cli 2.5.8 (core)",
"apex 2.3.10 (core)",
"auth 2.8.12 (core)",
"data 2.5.6 (core)",
"deploy-retrieve 1.17.5 (core)",
"functions 1.21.10 (user)",
"info 2.6.39 (core)",
"limits 2.3.30 (core)",
"login 1.2.26 (core)",
"org 2.10.0 (core)",
"schema 2.3.23 (core)",
"settings 1.4.25 (core)",
"sobject 0.2.4 (core)",
"source 2.10.31 (core)",
"telemetry 2.3.0 (core)",
"templates 55.5.10 (core)",
"trust 2.6.1 (core)",
"user 2.3.28 (core)"
]
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.