-
Notifications
You must be signed in to change notification settings - Fork 78
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
org resume sandbox
fails with The query returned more than 1 record
#2238
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
That command The CLI doesn't really support the sandbox refresh process very well--we should probably handle that scenario (have a way to start a refresh from the CLI and then be able to resume that). I'm going to use this issue as a "fix the error message" and handle the refresh stuff as a separate feature request |
This issue has been linked to a new work item: W-13635704 |
The predecessor command |
I'm running into this same issue when running |
Issue #1833 is identical to this one and was auto-closed against my wishes. Voicing my frustration about that. |
I am noticing that the Status of the related SandboxProcess record is stuck in |
@ahdong - Yes, there is a difference in the query used by @kyle-blair - Apologies about the auto-close of 1833. That should never have happened. You did a lot of work to provide detailed, useful information and it looks like our bot had some issues. Thanks for the info you provided! The good news is that this issue should be fixed with a few PRs that I have in the works. I believe it provides the most flexible solution by restoring the old behavior while providing more information about other SandboxProcesses in a resumable state. I'm hopeful this will go into the next CLI release candidate in a few days. For details, see: |
This issue is fixed in the CLI release candidate just published, v2.12.9. Feel free to install that version, try it out and report back. |
Fixed in the latest version of |
Summary
The
org resume sandbox
command fails withThe query returned more than 1 record
.Steps To Reproduce
org resume sandbox
command.Expected result
Returns the status of a sandbox creation, and log in to it if it's ready: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_org_commands_unified.htm#cli_reference_org_resume_sandbox_unified
Actual result
System Information
Additional information
Reproducible in any version.
The text was updated successfully, but these errors were encountered: