force:org:list --json not showing namespace of developer edition #2351
Replies: 11 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. |
Beta Was this translation helpful? Give feedback.
-
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
Beta Was this translation helpful? Give feedback.
-
This issue has been linked to a new work item: W-12009216 |
Beta Was this translation helpful? Give feedback.
-
we store the namespace when scratch orgs get created since we know it. We've never asked an org during auth about its namespace, but we certainly could (and then store that so it shows up for list/display). This would also help the situation where you auth to a previously created scratch org with a namespace (those would also show up as blank). |
Beta Was this translation helpful? Give feedback.
-
Sounds great, thanks! This kind of consistency would be helpful. |
Beta Was this translation helpful? Give feedback.
-
We might add this in the future but I'll mark this as As Shane mentioned, we already store the namespace prefix when a scratch org is created: (you can confirm this if you linked a namespace to your hub and created a scratch org, run
|
Beta Was this translation helpful? Give feedback.
-
Thanks for this! I'm not yet ts literate, but I'll try to ask a colleague who is. |
Beta Was this translation helpful? Give feedback.
-
@cristiand391 - I would like to work on this. Is that alright? |
Beta Was this translation helpful? Give feedback.
-
Hi @atsutton 👋🏼 |
Beta Was this translation helpful? Give feedback.
-
@cristiand391 - Pull request is ready for review. Please let me know if you need anything else. |
Beta Was this translation helpful? Give feedback.
-
this was delivered in the linked PR and the PR linked from there |
Beta Was this translation helpful? Give feedback.
-
Summary
The namespace or namespacePrefix attribute of a developer edition org having a namespace is not shown in sfdx.
Steps To Reproduce:
Expected result
The namespace or namespacePrefix attribute is shown.
Actual result
The namespace or namespacePrefix attribute is not shown.
{
"status": 0,
"result": {
"nonScratchOrgs": [
{
"accessToken": "[redacted]",
"instanceUrl": "https://[redacted]-dev-ed.my.salesforce.com",
"orgId": "[redacted]",
"username": "[redacted]",
"loginUrl": "https://login.salesforce.com/",
"clientId": "PlatformCLI",
"isDevHub": false,
"instanceApiVersion": "56.0",
"instanceApiVersionLastRetrieved": "03/11/2022, 21:51:55",
"alias": "[redacted]",
"lastUsed": "2022-11-03T21:23:22.394Z",
"connectedStatus": "Connected"
}
],
"scratchOrgs": []
}
}
System Information
{
"cliVersion": "sfdx-cli/7.174.0",
"architecture": "win32-x64",
"nodeVersion": "node-v16.17.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 1.3.1 (core)",
"@oclif/plugin-commands 2.2.0 (core)",
"@oclif/plugin-help 5.1.14 (core)",
"@oclif/plugin-not-found 2.3.3 (core)",
"@oclif/plugin-plugins 2.1.1 (core)",
"@oclif/plugin-update 3.0.2 (core)",
"@oclif/plugin-version 1.1.2 (core)",
"@oclif/plugin-warn-if-update-available 2.0.6 (core)",
"@oclif/plugin-which 2.1.0 (core)",
"alias 2.1.5 (core)",
"apex 1.3.0 (core)",
"auth 2.2.15 (core)",
"community 2.0.10 (core)",
"config 1.4.21 (core)",
"custom-metadata 2.0.2 (core)",
"data 2.1.4 (core)",
"generator 2.0.7 (core)",
"info 2.2.0 (core)",
"limits 2.0.5 (core)",
"org 2.2.9 (core)",
"packaging 1.9.4 (core)",
"schema 2.1.10 (core)",
"signups 1.2.8 (core)",
"source 2.0.25 (core)",
"telemetry 2.0.2 (core)",
"templates 55.1.0 (core)",
"trust 2.0.4 (core)",
"user 2.1.13 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
"salesforce-alm 54.8.3 (core)"
],
"osVersion": "Windows_NT 10.0.19044",
"shell": "cmd.exe",
"rootPath": "C:\Users\[redacted]\AppData\Local\sfdx\client\7.174.0-a2f8d31"
}
Beta Was this translation helpful? Give feedback.
All reactions