-
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
sf org list : does not render properly in terminal if you have an expired org #2533
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. |
Hello @curtisk 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
added version details json ^ |
This issue has been linked to a new work item: W-14348441 |
@curtisk thanks for reporting! or wait until it's gets promoted to RC in 1 week (and to stable the week after that). |
Great news, and quick turnaround, thanks! |
This issue is fixed in 2.15.9 (Nov 1, 2023). |
Summary
When using the
sf org list
command since upgrading to 2.13.9 npm version, the output no longer works properly when there are expired previously authorized (non-scratch) orgs in listSteps To Reproduce
Run
sf org list
from a terminal/command prompt, or within the terminal in vscode, when you have a previously authorized org credentials expireExpected result
The org list should render just as it normally does
Actual result
The output has intermixed markup code including a large block of svg related markup on the rows that have expired creds. Instead of having the colored words there, the svg markup bleeds into the output, in my case on the rows with markup one row was 13719 characters wide, blowing out the output render
System Information
cmd.exe (both standalone and with vscode Terminal, git bash on windows (same)
Additional information
@salesforce/cli/2.13.9 win32-x64 node-v18.16.0
2 screenshots attached, I piped the output to txt file to make sense of what was going on, since the in terminal view was a massive scrollfest. If I run
sf org list --skipconnectionstatus
that renders fine since it omits the Status column details.sf-bug-version.json
The text was updated successfully, but these errors were encountered: