CumulusCI
CumulusCI copied to clipboard
Getting None__dev as SFDX Alias
Describe the bug
When creating a dev scratch Org, I get the alias None__dev.
I can only fix this by running
cci org scratch dev dev
I don't really get why this fixes the issue. Can somebody help me to understand?
cci org scratch --help
does not offer any explanation.
@davidmreed suggested to open this as issue/bug
When creating feature or qa orgs, I get the expected alias.
Reproduction steps
- Unsure. Might be related to using a projectname with a '-` in it in cumulusci.yml
Your CumulusCI and Python versions
CumulusCI version: 3.73.0 Python version: 3.10.5
Operating System
Windows
Windows environment
PowerShell
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response
Yea, despite having a project:name all of my scratch orgs created via cci org info <org> are being created with an sfdx org alias of None__<org>
After a little bit of testing, it seems to happen if my project name has - in it. mybestproject works just fine (makes org called myproject__dev). my-best-project however, makes an org called None__dev.
For sfdx, - is perfectly valid so my-best-project__dev should be allowed
When you say project, do you refer to a) Folder Name b) CumulusCI Project name in cumulusci.yml c) sfdx-project.json
?
I tried using no - at all this time and still end up with None__dev
I am referring to the project name in the CumulusCI.yml file
Thank you. I tried that and on my machine, I still end up with None__dev until I run cci org scratch dev dev.
It must be something else then because now my org name creation is working correctly (including the - in project names)