You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sfdx force:org:beta:create does not properly assign the alias it is given via flag.
Steps To Reproduce:
Repository to reproduce:dreamhouse-lwc
(Verified it was reproducible with dreamhouse)
Run command sfdx force:org:beta:create -t scratch -a dreamhouseScratchBetaTest -f config/project-scratch-def.json -v DEVHUB-ALIAS -d 1 --wait 60
After beta create command finishes, run sfdx force:org:list. The scratch org shows up without the defined alias.
Expected result
Expected the scratch org to get assigned with the alias given, and being able to approach the scratch org using said alias in other sfdx commands.
Actual result
The scratch org is created without alias. No alias shows up in force:org:list, and other commands (force:org:open, force:org:delete, etc.) do not respond to the alias either.
Scratch orgs made with the old force:org:create command with identical flags do get their alias assigned correctly.
System Information
This error is being encountered both on local computer, as well as when running a build using CI tooling for a project.
Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.) Local computer: bash & cmd CI builds: TeamCity using Runner type: 'Command Line'
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.
Summary
sfdx force:org:beta:create
does not properly assign the alias it is given via flag.Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
(Verified it was reproducible with dreamhouse)
sfdx force:org:beta:create -t scratch -a dreamhouseScratchBetaTest -f config/project-scratch-def.json -v DEVHUB-ALIAS -d 1 --wait 60
sfdx force:org:list
. The scratch org shows up without the defined alias.Expected result
Expected the scratch org to get assigned with the alias given, and being able to approach the scratch org using said alias in other sfdx commands.
Actual result
The scratch org is created without alias. No alias shows up in
force:org:list
, and other commands (force:org:open
,force:org:delete
, etc.) do not respond to the alias either.Scratch orgs made with the old
force:org:create
command with identical flags do get their alias assigned correctly.System Information
This error is being encountered both on local computer, as well as when running a build using CI tooling for a project.
Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.)
Local computer: bash & cmd
CI builds: TeamCity using Runner type: 'Command Line'
If you are using
sfdx
sfdx version --verbose --json
If you are using
sf
sf version
ANDsf plugins --core
Paste the output here
Local Computer:
CI builds:
Additional information
Screenshot of created scratch org lacking an alias:
The text was updated successfully, but these errors were encountered: