forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
494 stars 78 forks source link

Running _**Execute Anonymous Apex**_ from the command palette "works", but the output is missing #878

Closed dcstuff closed 3 years ago

dcstuff commented 3 years ago

Summary

Running Execute Anonymous Apex from the command palette works, but the output is nowhere to be found

Steps To Reproduce:

Repository to reproduce:

Any repo

Expected result

I should see the results of the execution in the Salesforce CLI panel.

Actual result

The results of the execution do NOT appear in the Salesforce CLI panel, or any other panel -- I checked 'em all. The VS Code popup does say the execution successfully ran. I can also confirm in the authorized org that the execution was successful. I'll see the corresponding debug log and the result of my actions. I just ain't seeing it in VS Code.

Worth noting:

  1. Execute SOQL Query DOES work as intended. I see those results in the CLI panel.
  2. Running sfdx force:apex:execute in the terminal works, and I do see the output.

Additional information

Windows

It's been happening since BEFORE this latest update to 7.88.4. Can't say how long before.

sfdx-cli/7.88.4-3b2e55c3f1 win32-x64 node-v14.15.4

@dx-cli-toolbox/sfdx-toolbox-package-utils 0.3.3 @dxatscale/sfpowerscripts 1.6.15 @muenzpraeger/sfdx-plugin 0.5.0 @oclif/plugin-autocomplete 0.3.0 (core) @oclif/plugin-commands 1.3.0 (core) @oclif/plugin-not-found 1.2.4 (core) @oclif/plugin-plugins 1.9.5 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/lwc-dev-mobile 1.0.0 @salesforce/lwc-dev-server 2.10.0 ├─ @oclif/plugin-update 1.3.10 └─ @oclif/plugin-help 2.2.3 @salesforce/sfdx-diff 0.0.6 @salesforce/sfdx-plugin-lwc-test 0.1.7 @salesforce/sfdx-scanner 2.6.0 @salesforce/sfdx-trust 3.6.0 (core) alias 1.1.5 (core) auth 1.4.8 (core) config 1.2.4 (core) dxb 1.6.2 generator 1.1.5 (core) isvte-sfdx-plugin 1.1.9 mo-dx-plugin 0.3.2 salesforcedx 51.0.4 (core) ├─ limits 1.0.4 (core) ├─ schema 1.0.4 (core) ├─ templates 51.2.0 (core) ├─ custom-metadata 1.0.11 (core) ├─ apex 0.1.4 (core) └─ salesforce-alm 51.0.2 (core) sfdmu 3.9.4 sfdx-cli 7.88.4 (core) sfdx-essentials 2.5.4 sfdx-jayree 3.1.0 sfpowerkit 2.6.5 shane-sfdx-plugins 4.43.0 ├─ @mshanemc/plugin-streaming 1.1.7 └─ @mshanemc/sfdx-sosl 1.1.0 telemetry 1.1.1 (core) texei-sfdx-plugin 1.9.3 user 1.1.2

github-actions[bot] commented 3 years ago

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.

dcstuff commented 3 years ago

Resolved with 7.89.2 Thanks!