CumulusCI
CumulusCI copied to clipboard
`namespace` does not display when running `cci org info` on a packaging org (does work when you add `--json` flag)
Describe the bug
According to documentation, running cci org info on a packaging org should result in displaying the namespace in addition to other data. I am not seeing the namespace in output unless I add the --json feature flag.
Reproduction steps
- Connect a packaging org to cci using
cci org connecting packaging - Run
cci flow info packaging
[some data obscured for privacy reasons]
Result Example:
Org: as-packaging
─────────────────────────────────────────────────────────────────────────
api_version ****
connected_app built-in
instance_name ****
instance_url ****
is_sandbox False
org_type Developer Edition
serialization_format pickle
Expected Result Example:
Org: as-packaging
─────────────────────────────────────────────────────────────────────────
api_version ****
connected_app built-in
instance_name ****
instance_url ****
namespace my_namespace
is_sandbox False
org_type Developer Edition
serialization_format pickle
Your CumulusCI and Python versions
CumulusCI version: 3.71.0 (/Users/julianjoseph/.local/bin/cci) Python version: 3.10.0 (/Users/julianjoseph/.local/pipx/venvs/cumulusci/bin/python)
Operating System
MacOS 13.2
Windows environment
No response
CumulusCI installation method
pipx
Error Gist
No response
Additional information
I do see a namespace when I add --json:
"namespace": "my_namepsace",
Perhaps it has something to do with how I connected my org. There is a chance I used cci org import.
Thanks for the report, @Julian88Tex. This is, unfortunately, working as designed. I think it's a reasonable change so I put it on our backlog.
@jstvz Thanks for the confirmation there. If that's the case might want to also add some clarification here: If your project has been configured for use with CumulusCI, cci org info lists the project’s namespace under package__namespace in the output. from: https://cumulusci.readthedocs.io/en/latest/managed-package.html#prerequisites